doomemacs/.github/workflows/lint.yml
Henrik Lissner 74f72c15b3 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.
2021-08-02 15:00:53 -04:00

14 lines
378 B
YAML

name: Commit linter
on:
pull_request:
jobs:
lint-commits:
runs-on: ubuntu-latest
steps:
- uses: purcell/setup-emacs@master
with:
version: 27.2
- uses: actions/checkout@v2.3.1
with:
fetch-depth: 0
- run: bin/doom ci lint-commits ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }}