ci: add a workflow that lints commit messages

This commit is contained in:
sfan5
2023-04-04 15:10:20 +02:00
parent 7ae7fc0112
commit 9a8b31707e
2 changed files with 134 additions and 0 deletions

22
.github/workflows/lint.yml vendored Normal file
View File

@@ -0,0 +1,22 @@
name: lint
on:
push:
branches:
- master
- ci
- 'release/**'
pull_request:
branches: [master]
jobs:
commit-msg:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 50
- name: Lint
run: |
./ci/lint-commit-msg.py