mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-17 09:35:11 +02:00
31 lines
738 B
YAML
31 lines
738 B
YAML
# 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
|
|
|
|
concurrency:
|
|
group: "${{ github.workflow }}-${{ github.ref }}"
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
committed:
|
|
name: Lint Commits
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
fetch-depth: 0
|
|
filter: "tree:0"
|
|
persist-credentials: false
|
|
- name: Lint Commits
|
|
uses: crate-ci/committed@faeed42f2e10c244533a01525f13c4d8b6ce383f # v1.1.11
|