Skip to content

Commit 5a17532

Browse files
committed
Use official action to checkout PR
1 parent 3612345 commit 5a17532

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/native.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,9 @@ jobs:
8080
runs-on: ubuntu-latest
8181
if: ${{ needs.prerequisites.outputs.targets_referenced }}
8282
steps:
83-
- uses: actions/checkout@v3
84-
- name: Checkout PR
85-
env:
86-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
87-
run: gh pr checkout ${{ github.event.pull_request.number }}
83+
- uses: actions/checkout@v4
84+
with:
85+
ref: ${{ github.head_ref }}
8886
- name: Download All Artifacts
8987
uses: actions/download-artifact@v4
9088
with:

0 commit comments

Comments
 (0)