Skip to content

Commit a1dd848

Browse files
Merge pull request #81 from UiPath/fix/commitlint-forks
chore: update commitlint configuration
2 parents bab124a + 8250d2c commit a1dd848

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/commitlint.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,4 +37,6 @@ jobs:
3737
echo "export default { extends: ['@commitlint/config-conventional'] };" > commitlint.config.js
3838
3939
- 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
40+
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

Comments
 (0)