Skip to content

Commit d6a362c

Browse files
committed
fix: fetch base branch in commitlint workflow
1 parent 4b286c6 commit d6a362c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/commit-lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ jobs:
1717
submodules: true
1818
fetch-depth: 0
1919

20+
- name: Fetch base branch
21+
run: git fetch origin ${{ github.event.pull_request.base.ref }}:refs/remotes/origin/${{ github.event.pull_request.base.ref }}
22+
2023
- name: Setup Node.js
2124
uses: actions/setup-node@v4
2225
with:

0 commit comments

Comments
 (0)