Skip to content

Commit

Permalink
Use official action to checkout PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Dec 21, 2024
1 parent 3612345 commit 5a17532
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/native.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,9 @@ jobs:
runs-on: ubuntu-latest
if: ${{ needs.prerequisites.outputs.targets_referenced }}
steps:
- uses: actions/checkout@v3
- name: Checkout PR
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh pr checkout ${{ github.event.pull_request.number }}
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Download All Artifacts
uses: actions/download-artifact@v4
with:
Expand Down

0 comments on commit 5a17532

Please sign in to comment.