File tree Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Expand file tree Collapse file tree 1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change 36
36
- name : Check Subject Line Length
37
37
uses : gsactions/commit-message-checker@v1
38
38
with :
39
- pattern : ' (^.*. {60})(\n.*) '
39
+ pattern : ' ^(. {60}[^ ]*).\n* '
40
40
error : ' Subject too long (max 60)'
41
41
checkAllCommitMessages : ' true' # optional: this checks all commits associated with a pull request
42
- - name : Check Line Length
43
- uses : gsactions/commit-message-checker@v1
44
- with :
45
- pattern : ' ^[^#].{72}'
46
- error : ' The maximum line length of 72 characters is exceeded.'
47
- excludeDescription : ' false' # optional: this excludes the description body of a pull request
48
- excludeTitle : ' true' # optional: this excludes the title of a pull request
49
- checkAllCommitMessages : ' true' # optional: this checks all commits associated with a pull request
50
- accessToken : ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
51
42
- name : Check for Resolves / Fixes
52
43
uses : gsactions/commit-message-checker@v1
53
44
with :
You can’t perform that action at this time.
0 commit comments