Skip to content

Commit

Permalink
fix: switch to forked GitHub action #9071
Browse files Browse the repository at this point in the history
The previously used action (GsActions/commit-message-checker) does not
seem to be maintained any longer. The switch to a fork was necessary
because the action uses the deprecated Nodejs 16 version, that will stop
functioning in the near future.
  • Loading branch information
mhitza committed Nov 11, 2024
1 parent 0836ea8 commit 00f2ee9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/10-review.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# possibly because not published on the GitHub marketplace

- name: Check Card# reference
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
# Matches lines that end in a card number: #1234
# Matches lines that end in a card number and PR reference: #1234 (#20)
Expand All @@ -35,7 +35,7 @@ jobs:
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true

- name: Check Line Length
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
pattern: '^.{0,50}$'
error: 'The maximum line length of 50 characters is exceeded.'
Expand All @@ -45,7 +45,7 @@ jobs:
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true

- name: Check Body Length
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
pattern: '^.{0,72}$'
error: 'The maximum line length of 72 characters is exceeded in the body.'
Expand Down
6 changes: 3 additions & 3 deletions templates/.github/workflows/10-review.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
# possibly because not published on the GitHub marketplace

- name: Check Card# reference
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
# Matches lines that end in a card number: #1234
# Matches lines that end in a card number and PR reference: #1234 (#20)
Expand All @@ -35,7 +35,7 @@ jobs:
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true

- name: Check Line Length
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
pattern: '^.{0,50}$'
error: 'The maximum line length of 50 characters is exceeded.'
Expand All @@ -45,7 +45,7 @@ jobs:
accessToken: ${{ secrets.GITHUB_TOKEN }} # github access token is only required if checkAllCommitMessages is true

- name: Check Body Length
uses: gsactions/commit-message-checker@v2
uses: linkorb/commit-message-checker@v1
with:
pattern: '^.{0,72}$'
error: 'The maximum line length of 72 characters is exceeded in the body.'
Expand Down

0 comments on commit 00f2ee9

Please sign in to comment.