File tree Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Expand file tree Collapse file tree 1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -37,26 +37,21 @@ jobs:
37
37
name : Check Commit Message
38
38
runs-on : ubuntu-latest
39
39
steps :
40
- - name : Check Title Length
41
- uses : gsactions/commit-message-checker@v1
42
- with :
43
- pattern : ' ^[^#].{54}'
44
- error : ' ${error-common}: the maximum line length of 74 characters is exceeded.'
45
40
- name : Check Commit Type
46
41
uses : gsactions/commit-message-checker@v1
47
42
with :
48
43
pattern : ' \[[^]]+\] .+$'
49
- error : ' ${error-common}: your first line has to contain a commit type like "[BUGFIX]".'
44
+ error : ' Your first line has to contain a commit type like "[BUGFIX]".'
50
45
- name : Check Line Length
51
46
uses : gsactions/commit-message-checker@v1
52
47
with :
53
48
pattern : ' ^[^#].{74}'
54
- error : ' ${error-common}: the maximum line length of 74 characters is exceeded.'
49
+ error : ' The maximum line length of 74 characters is exceeded.'
55
50
- name : Check for Resolves / Fixes
56
51
uses : gsactions/commit-message-checker@v1
57
52
with :
58
53
pattern : ' ^.+(Resolves|Fixes): \#[0-9]+$'
59
- error : ' ${error-common}: you need at least one "Resolves|Fixes: #<issue number>" line.'
54
+ error : ' You need at least one "Resolves|Fixes: #<issue number>" line.'
60
55
` ` `
61
56
62
57
## Development
You can’t perform that action at this time.
0 commit comments