Skip to content

Commit 2b6b634

Browse files
committed
Checkout base branch instead of PR head in build workflow
1 parent 5db5a5e commit 2b6b634

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-pr-cmk.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ jobs:
3636
outcome: ${{ steps.meta.outputs.outcome }}
3737
artifact_url: ${{ steps.meta.outputs.artifact_url }}
3838
steps:
39-
- name: Checkout PR HEAD
39+
- name: Checkout PR base branch
4040
uses: actions/checkout@v4
4141
with:
42-
ref: ${{ github.event.pull_request.head.sha }}
42+
ref: ${{ github.event.pull_request.base.sha }}
4343
persist-credentials: false
4444

4545
- name: Set up Go

0 commit comments

Comments
 (0)