File tree Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Expand file tree Collapse file tree 3 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ # Not run as part of pre-commit checks because they don't handle sending the correct commit
2+ # range to `committed`
3+ name : Lint Commits
4+ on : [pull_request]
5+
6+ permissions :
7+ contents : read
8+
9+ env :
10+ RUST_BACKTRACE : 1
11+ CARGO_TERM_COLOR : always
12+ CLICOLOR : 1
13+
14+ jobs :
15+ committed :
16+ name : Lint Commits
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout Actions Repository
20+ uses : actions/checkout@v4
21+ with :
22+ fetch-depth : 0
23+ - name : Lint Commits
24+ uses : crate-ci/committed@master
Original file line number Diff line number Diff line change 1919 hooks :
2020 - id : typos
2121 stages : [commit]
22+ - repo : https://github.com/crate-ci/committed
23+ rev : v1.0.20
24+ hooks :
25+ - id : committed
26+ stages : [commit-msg]
Original file line number Diff line number Diff line change 1+ style =" conventional"
2+ ignore_author_re =" (dependabot|renovate)"
3+ merge_commit = false
You can’t perform that action at this time.
0 commit comments