Skip to content

Commit

Permalink
[TASK] Update GH workflow to check commit message to v2
Browse files Browse the repository at this point in the history
  • Loading branch information
fnagel committed Nov 14, 2023
1 parent 7ee9dd6 commit 4bf044f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/commit-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check type prefix
uses: gsactions/commit-message-checker@v1
uses: gsactions/commit-message-checker@v2
with:
pattern: '^(?:\[!!!\])?\[(BUILD|TASK|BUGFIX|FIX|FEATURE|DOC|CLEANUP|RELEASE){1}\] .+$'
flags: 'gm'
Expand All @@ -31,7 +31,7 @@ jobs:
flags: 'gm'
error: 'The actual message after the commit type should start with a uppercase letter.'
- name: Check line length
uses: gsactions/commit-message-checker@v1
uses: gsactions/commit-message-checker@v2
with:
pattern: '^.{10,72}$'
flags: 'gm'
Expand Down

0 comments on commit 4bf044f

Please sign in to comment.