[TOOLS-7104] Update github actions due to node 16 deprecation #434
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Commit Message Check | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Check Commit Message | |
uses: gsactions/commit-message-checker@v2 | |
with: | |
pattern: '^(?:ci|feat|fix|docs|style|refactor|perf|test|chore)\(?(?:\w+|\s|\-|_)?\)?:\s\w+' | |
error: "One or more commit messages do not meet the format requirements. Please check the requirements here: https://github.com/scribd/go-sdk#commit-messages" | |
accessToken: ${{ secrets.GITHUB_TOKEN }} | |
excludeTitle: true | |
excludeDescription: true | |
checkAllCommitMessages: true |