Skip to content

Commit c7e70dc

Browse files
committed
opendownstreamPR: Fix comment about checkout
When using pull_request_target, actions/checkout by default checks out the default branch of the main repo, not the PR branch. Signed-off-by: Aaron Dewes <[email protected]>
1 parent 01e98cc commit c7e70dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/opendownstream-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: 'Checkout Self'
1717
uses: actions/checkout@v5
18-
# This checks out the code from the PR branch itself
18+
# Because we use pull_request_target, this checks out the code from the default branch, NOT the PR branch
1919

2020
- name: 'Setup Go'
2121
uses: actions/setup-go@v6

0 commit comments

Comments
 (0)