Skip to content

Commit ec0807f

Browse files
committed
ci: fetch refs properly
1 parent 1b9efe9 commit ec0807f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ jobs:
6868

6969
- name: Set Base and Head Refs
7070
run: |
71-
BASE_REF="${{ github.event.pull_request.base.sha }}"
72-
HEAD_REF="${{ github.event.pull_request.head.sha }}"
71+
BASE_REF="${{ github.event.pull_request.base.ref }}"
72+
HEAD_REF="${{ github.event.pull_request.head.ref }}"
7373
BASE_REMOTE="${{github.event.pull_request.base.repo.clone_url}}"
7474
HEAD_REMOTE="${{github.event.pull_request.head.repo.clone_url}}"
7575

0 commit comments

Comments
 (0)