Skip to content

Commit

Permalink
chore: support merge commits as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed Nov 15, 2023
1 parent 30c16f1 commit f33d1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check_commits.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
uses: tim-actions/[email protected]
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
pattern: '^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)'
pattern: '^(Merge branch ''main'' into develop)|(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test){1}(\([\w\-\.]+\))?(!)?: ([\w ])+([\s\S]*)'
error: 'Commit messages do not follow https://www.conventionalcommits.org/en/v1.0.0/'
- name: Get Changed Files
uses: tj-actions/[email protected]
Expand Down

0 comments on commit f33d1d8

Please sign in to comment.