dev: add commit linter workflow
Experimenting with an internal linter. Only trouble is, if Doom's CLI is ever in a broken state, a contributor will have to know about --no-verify option for git commit. This can be improved post CLI rewrite.
This commit is contained in:
parent
ea1883c6eb
commit
074b9eb0d1
2 changed files with 183 additions and 0 deletions
11
.github/workflows/lint.yml
vendored
Normal file
11
.github/workflows/lint.yml
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
name: Commit linter
|
||||
on:
|
||||
pull_request:
|
||||
jobs:
|
||||
lint-commits:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2.3.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: bin/doom ci lint-commits HEAD~1
|
Loading…
Add table
Add a link
Reference in a new issue