- 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.
14 lines
378 B
YAML
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 }}
|