Skip to content

Commit

Permalink
fix commit message check in github workflow (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
kgaikwad authored Sep 11, 2023
1 parent 4a1f45a commit 36d9066
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit_checker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ jobs:
- name: Check Commit Type
uses: gsactions/commit-message-checker@v1
with:
pattern: '^(Refs|Fixes) #YUPTOO-[0-9]+ - .+$'
error: 'Commit message should start with "Fixes #YUPTOO-<issue number> - "'
pattern: '^((Refs|Fixes)\s{1}#)?[a-zA-Z]+-[0-9]+ - .+$'
error: 'Commit message should include a ticket number. Example: "Fixes #RHINENG-1234 - "'

0 comments on commit 36d9066

Please sign in to comment.