diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2024-03-12 14:23:07 +0100 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2024-03-14 10:10:19 +0100 |
| commit | 93b9d8dfd0ed35b673d3d2a785114932c291e893 (patch) | |
| tree | 01eb1e24e62aef579d447fc4725d4518156b3526 | |
| parent | 520840119ea0a2feb6b53fd8dac89a00ebb72c3d (diff) | |
| download | mullvadvpn-93b9d8dfd0ed35b673d3d2a785114932c291e893.tar.xz mullvadvpn-93b9d8dfd0ed35b673d3d2a785114932c291e893.zip | |
Add Github actions CI job for checking commit messages
| -rw-r--r-- | .github/workflows/git-commit-message-style.yml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/.github/workflows/git-commit-message-style.yml b/.github/workflows/git-commit-message-style.yml new file mode 100644 index 0000000000..ddb55b4160 --- /dev/null +++ b/.github/workflows/git-commit-message-style.yml @@ -0,0 +1,18 @@ +--- +name: Git - Check commit message style +on: + push: + workflow_dispatch: + +jobs: + check-commit-message-style: + name: Check commit message style + runs-on: ubuntu-latest + steps: + - name: Check against guidlines + 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' |
