Skip to content

Commit

Permalink
chore: fix commitlint on PRs (#594)
Browse files Browse the repository at this point in the history
* fix commitlint to only check the latest commit in a PR

* chore: make bindings

* chore: fix bindings

* chore: oh my god please bindings
  • Loading branch information
wadealexc authored Jun 21, 2024
1 parent 04a0176 commit dc3abf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3,640 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ jobs:

- name: Validate PR commits with commitlint
if: github.event_name == 'pull_request'
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
run: npx commitlint --from ${{ github.event.pull_request.head.sha }}~1 --to ${{ github.event.pull_request.head.sha }} --verbose
Loading

0 comments on commit dc3abf5

Please sign in to comment.