Skip to content

Commit 2b19b3a

Browse files
committed
fix(pullrequest-semantic): fix commit range for commitlint
See conventional-changelog/commitlint#2568 (comment)
1 parent fd60ab5 commit 2b19b3a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pullrequest-semantic.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ jobs:
2222
- name: Check commits
2323
uses: vtavernier/github-workflows/actions/commitlint@463fff6e61c01fc139d544de20af9e80fdd6ee51
2424
with:
25-
lint-from: ${{ github.event.pull_request.base.sha }}
26-
lint-to: ${{ github.event.pull_request.head.sha }}
25+
lint-from: HEAD~${{ github.event.pull_request.commits }}
26+
lint-to: HEAD

0 commit comments

Comments
 (0)