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.
2 parents bab124a + 8250d2c commit a1dd848Copy full SHA for a1dd848
.github/workflows/commitlint.yml
@@ -37,4 +37,6 @@ jobs:
37
echo "export default { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
38
39
- name: Validate PR commits with commitlint
40
- run: npx commitlint --from ${{ github.event.pull_request.base.sha }} --to ${{ github.event.pull_request.head.sha }} --verbose
+ run: |
41
+ git fetch origin pull/${{ github.event.pull_request.number }}/head:pr_branch
42
+ npx commitlint --from ${{ github.event.pull_request.base.sha }} --to pr_branch --verbose
0 commit comments