ci: add commit linting
Lints Pull Request commits with commitlint: https://github.com/wagoid/commitlint-github-action Signed-off-by: Nick Hainke <vincent@systemli.org>
This commit is contained in:
parent
e2d72c5775
commit
4576557bbc
1 changed files with 12 additions and 0 deletions
12
.github/workflows/commitlint.yml
vendored
Normal file
12
.github/workflows/commitlint.yml
vendored
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
name: Lint Commit Messages
|
||||||
|
on: [pull_request]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
commitlint:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
- uses: wagoid/commitlint-github-action@v4
|
||||||
|
|
Loading…
Reference in a new issue