We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c6284d commit 9b01520Copy full SHA for 9b01520
.github/workflows/ci.yml
@@ -46,3 +46,7 @@ jobs:
46
run: lefthook run --force pre-commit
47
-
48
run: cargo hack test --feature-powerset
49
+ -
50
+ name: Validate PR commits with commitlint
51
+ if: github.event_name == 'pull_request'
52
+ run: commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
lefthook.yml
@@ -20,4 +20,4 @@ pre-commit:
20
test-docs:
21
run: cargo test --doc
22
lint-commit:
23
- run: commitlint --from HEAD~1 --to HEAD
+ run: commitlint --last
0 commit comments