Skip to content

Commit

Permalink
Simplify commit length check
Browse files Browse the repository at this point in the history
Co-authored-by: Oliver Kurz <[email protected]>
  • Loading branch information
michaelgrifalconi and okurz authored Feb 28, 2024
1 parent 19baf1d commit 7cc7c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/base-commit-message-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Check subject line length
uses: gsactions/commit-message-checker@v2
with:
pattern: '^((Revert )?.{1,72}(\n|$)|(Revert ").{1,72}"(\n|$))'
pattern: '^(Revert "?)?.{1,72}(\n|$)'
flags: 'g'
error: 'The maximum subject line length of 72 characters is exceeded.'
excludeDescription: 'true'
Expand Down

0 comments on commit 7cc7c15

Please sign in to comment.