We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b485a1d commit 7c33fd6Copy full SHA for 7c33fd6
.github/workflows/commit-checker.yml
@@ -36,12 +36,9 @@ jobs:
36
- name: Check Subject Line Length
37
uses: gsactions/commit-message-checker@v1
38
with:
39
- pattern: '^[^#].{50}'
40
- error: 'Subject too long (max 50)'
41
- excludeDescription: 'true'
42
- excludeTitle: 'false'
+ pattern: '(^.*.{60})(\n.*)'
+ error: 'Subject too long (max 60)'
43
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
44
- accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
45
- name: Check Line Length
46
47
0 commit comments