dev: fix commit linter target and lint all commits
- Was formerly processing the internal merge commit, which never conforms to our conventions, but is also unrelated to the work at hand. - Now lints the range of commits applicable to the event, and not just the latest commit.
This commit is contained in:
parent
0ca34af323
commit
74f72c15b3
2 changed files with 2 additions and 2 deletions
2
.github/workflows/lint.yml
vendored
2
.github/workflows/lint.yml
vendored
|
@ -11,4 +11,4 @@ jobs:
|
|||
- uses: actions/checkout@v2.3.1
|
||||
with:
|
||||
fetch-depth: 0
|
||||
- run: bin/doom ci lint-commits HEAD~1
|
||||
- run: bin/doom ci lint-commits ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue