2023-03-29 15:33:22 -04:00
|
|
|
# Not run as part of pre-commit checks because they don't handle sending the correct commit
|
|
|
|
# range to `committed`
|
|
|
|
name: Lint Commits
|
|
|
|
on: [pull_request]
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
contents: read
|
|
|
|
|
|
|
|
env:
|
|
|
|
RUST_BACKTRACE: 1
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
CLICOLOR: 1
|
|
|
|
|
2024-01-18 10:22:25 -05:00
|
|
|
concurrency:
|
|
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
2023-03-29 15:33:22 -04:00
|
|
|
jobs:
|
|
|
|
committed:
|
|
|
|
name: Lint Commits
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout Actions Repository
|
2023-09-30 21:37:07 -04:00
|
|
|
uses: actions/checkout@v4
|
2023-03-29 15:33:22 -04:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
|
|
|
- name: Lint Commits
|
|
|
|
uses: crate-ci/committed@master
|