From 00f2ee903f32d64ef19d75713da57bb506ca4f57 Mon Sep 17 00:00:00 2001 From: Marius Ghita Date: Tue, 12 Nov 2024 00:42:53 +0200 Subject: [PATCH] fix: switch to forked GitHub action #9071 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. --- .github/workflows/10-review.yaml | 6 +++--- templates/.github/workflows/10-review.yaml.j2 | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/10-review.yaml b/.github/workflows/10-review.yaml index eae8038..05bbcf4 100644 --- a/.github/workflows/10-review.yaml +++ b/.github/workflows/10-review.yaml @@ -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) @@ -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.' @@ -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.' diff --git a/templates/.github/workflows/10-review.yaml.j2 b/templates/.github/workflows/10-review.yaml.j2 index 6bcf29e..2c465dd 100644 --- a/templates/.github/workflows/10-review.yaml.j2 +++ b/templates/.github/workflows/10-review.yaml.j2 @@ -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) @@ -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.' @@ -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.'