Skip to content

Commit

Permalink
Fix nasa#621, also update commit-message-checker version
Browse files Browse the repository at this point in the history
Update from v1 to v2 on this 3rd party action
  • Loading branch information
jphickey committed Dec 1, 2022
1 parent 749b8ef commit 5a1174f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/format-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
steps:
# Check github pull-request title against the pattern.
- name: Check pull-request title
uses: gsactions/commit-message-checker@v1
uses: gsactions/commit-message-checker@v2
with:
pattern: '^((Fix|HotFix|Part)\s\#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)'
error: 'You need at least one "Fix|HotFix|Part #<issue number>, <short description>" line in the pull-request title.'
Expand All @@ -88,7 +88,7 @@ jobs:
checkAllCommitMessages: 'false'
# Check each commit message associated with the pull-request against the pattern.
- name: Check each commit message
uses: gsactions/commit-message-checker@v1
uses: gsactions/commit-message-checker@v2
if: always()
with:
pattern: '^((Fix|HotFix|Part)\s\#[0-9]+,\s[a-zA-Z0-9]+|Merge\spull\srequest\s\#[0-9]+\s[a-zA-Z0-9]+|IC:\s[a-zA-Z0-9]+)'
Expand Down

0 comments on commit 5a1174f

Please sign in to comment.