chore: update release to use Node 20 #38
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: 'Check Commit Message' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
push: | |
branches: | |
- master | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- name: Commit begins with supported commit type | |
uses: gsactions/commit-message-checker@v1 | |
with: | |
pattern: '^(feat|fix|docs|style|refactor|test|chore).+' | |
error: 'Commit messages must begin with a valid commit type. See "Commit Style" under CONTRIBUTING.md for more details.' | |
excludeDescription: 'true' | |
excludeTitle: 'true' | |
checkAllCommitMessages: 'true' | |
accessToken: ${{ secrets.GITHUB_TOKEN }} |