Skip to content

Commit 7c33fd6

Browse files
authored
Update commit-checker.yml
1 parent b485a1d commit 7c33fd6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.github/workflows/commit-checker.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,9 @@ jobs:
3636
- name: Check Subject Line Length
3737
uses: gsactions/commit-message-checker@v1
3838
with:
39-
pattern: '^[^#].{50}'
40-
error: 'Subject too long (max 50)'
41-
excludeDescription: 'true'
42-
excludeTitle: 'false'
39+
pattern: '(^.*.{60})(\n.*)'
40+
error: 'Subject too long (max 60)'
4341
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
4542
- name: Check Line Length
4643
uses: gsactions/commit-message-checker@v1
4744
with:

0 commit comments

Comments
 (0)