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