# 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]

jobs:
  committed:
    name: Lint Commits
    runs-on: ubuntu-latest
    steps:
    - name: Checkout Actions Repository
      uses: actions/checkout@v2
      with:
        fetch-depth: 0
    - name: Lint Commits
      uses: crate-ci/committed@master
