summaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/git-commit-message-style.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/git-commit-message-style.yml')
-rw-r--r--.github/workflows/git-commit-message-style.yml20
1 files changed, 10 insertions, 10 deletions
diff --git a/.github/workflows/git-commit-message-style.yml b/.github/workflows/git-commit-message-style.yml
index 6b5323b6cb..6de2ffed44 100644
--- a/.github/workflows/git-commit-message-style.yml
+++ b/.github/workflows/git-commit-message-style.yml
@@ -9,16 +9,6 @@ jobs:
name: Check commit message style
runs-on: ubuntu-latest
steps:
- - name: Check against guidelines
- uses: mristin/opinionated-commit-message@v3.1.0
- with:
- # Commit messages are allowed to be subject only, no body
- allow-one-liners: 'true'
- # This action defaults to 50 char subjects, but 74 is fine.
- max-subject-line-length: '74'
- # The action's wordlist is a bit short. Add more accepted verbs
- additional-verbs: 'restart, coalesce'
-
- name: Check for unicode whitespaces
uses: gsactions/commit-message-checker@v2
with:
@@ -30,3 +20,13 @@ jobs:
error: 'Detected unicode whitespace character in commit message.'
checkAllCommitMessages: 'true' # optional: this checks all commits associated with a pull request
accessToken: ${{ secrets.GITHUB_TOKEN }} # only required if checkAllCommitMessages is true
+
+ - name: Check against guidelines
+ uses: mristin/opinionated-commit-message@v3.1.0
+ with:
+ # Commit messages are allowed to be subject only, no body
+ allow-one-liners: 'true'
+ # This action defaults to 50 char subjects, but 72 is fine.
+ max-subject-line-length: '72'
+ # The action's wordlist is a bit short. Add more accepted verbs
+ additional-verbs: 'restart, coalesce'