feat: update commit_message.yml #5
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 | |
pull_request_target: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
check-commit-message: | |
name: Check Commit Message | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taskmedia/[email protected] | |
with: | |
# token to access GitHub API to receive PR commits | |
# Default: ${{ github.token }} | |
token: "" | |
# skip merge commits | |
# Default: true | |
skip_merge: "" | |
# skip revert commits | |
# Default: true | |
skip_revert: "" | |
# allow different types in commit message | |
# Default: fix|feat|revert | |
types: "" |