Skip to content

Commit

Permalink
ci(semantic_pr): 🎡 validate PR commits correctly in commitlint
Browse files Browse the repository at this point in the history
  • Loading branch information
yikoyu committed Dec 13, 2024
1 parent f92c228 commit b798f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/semantic_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:

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

0 comments on commit b798f80

Please sign in to comment.