Skip to content

Commit a7aca1d

Browse files
committed
[DOCS] Update example
1 parent 3ea0886 commit a7aca1d

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

README.md

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,26 +37,21 @@ jobs:
3737
name: Check Commit Message
3838
runs-on: ubuntu-latest
3939
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.'
4540
- name: Check Commit Type
4641
uses: gsactions/commit-message-checker@v1
4742
with:
4843
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]".'
5045
- name: Check Line Length
5146
uses: gsactions/commit-message-checker@v1
5247
with:
5348
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.'
5550
- name: Check for Resolves / Fixes
5651
uses: gsactions/commit-message-checker@v1
5752
with:
5853
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.'
6055
```
6156
6257
## Development

0 commit comments

Comments
 (0)