summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2024-03-21 13:01:22 +0100
committerLinus Färnstrand <linus@mullvad.net>2024-03-21 13:01:22 +0100
commit1325acfabbd315b62b301abd34e42b67e687f4b3 (patch)
treeacaa97844c7557634811eebc32dc372fe77ae1ac
parent74ea7d74c8ff4079f23aff648b2abd14c4129e43 (diff)
parente0d48287b345e803b668ce9e3bc949fc71c766b5 (diff)
downloadmullvadvpn-1325acfabbd315b62b301abd34e42b67e687f4b3.tar.xz
mullvadvpn-1325acfabbd315b62b301abd34e42b67e687f4b3.zip
Merge branch 'improve-git-commit-message-check'
-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'