File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ jobs:
55
55
runs-on : ubuntu-latest
56
56
steps :
57
57
- name : Check Commit Type
58
- uses : gsactions/commit-message-checker@v1
58
+ uses : gsactions/commit-message-checker@v2
59
59
with :
60
60
pattern : ' \[[^]]+\] .+$'
61
61
flags : ' gm'
62
62
error : ' Your first line has to contain a commit type like "[BUGFIX]".'
63
63
- name : Check Line Length
64
- uses : gsactions/commit-message-checker@v1
64
+ uses : gsactions/commit-message-checker@v2
65
65
with :
66
66
pattern : ' ^[^#].{74}'
67
67
error : ' The maximum line length of 74 characters is exceeded.'
70
70
checkAllCommitMessages : ' true' # optional: this checks all commits associated with a pull request
71
71
accessToken : ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
72
72
- name : Check for Resolves / Fixes
73
- uses : gsactions/commit-message-checker@v1
73
+ uses : gsactions/commit-message-checker@v2
74
74
with :
75
75
pattern : ' ^.+(Resolves|Fixes): \#[0-9]+$'
76
76
error : ' You need at least one "Resolves|Fixes: #<issue number>" line.'
You can’t perform that action at this time.
0 commit comments