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:
Henrik Lissner 2021-08-02 14:48:19 -04:00
parent 0ca34af323
commit 74f72c15b3
2 changed files with 2 additions and 2 deletions

View file

@ -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 }}