Skip to content

Commit 4c06ad2

Browse files
[DOCS] Use latest version in code examples (#84)
1 parent 24c2c50 commit 4c06ad2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ jobs:
5555
runs-on: ubuntu-latest
5656
steps:
5757
- name: Check Commit Type
58-
uses: gsactions/commit-message-checker@v1
58+
uses: gsactions/commit-message-checker@v2
5959
with:
6060
pattern: '\[[^]]+\] .+$'
6161
flags: 'gm'
6262
error: 'Your first line has to contain a commit type like "[BUGFIX]".'
6363
- name: Check Line Length
64-
uses: gsactions/commit-message-checker@v1
64+
uses: gsactions/commit-message-checker@v2
6565
with:
6666
pattern: '^[^#].{74}'
6767
error: 'The maximum line length of 74 characters is exceeded.'
@@ -70,7 +70,7 @@ jobs:
7070
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
7171
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true
7272
- name: Check for Resolves / Fixes
73-
uses: gsactions/commit-message-checker@v1
73+
uses: gsactions/commit-message-checker@v2
7474
with:
7575
pattern: '^.+(Resolves|Fixes): \#[0-9]+$'
7676
error: 'You need at least one "Resolves|Fixes: #<issue number>" line.'

0 commit comments

Comments
 (0)