diff --git a/.github/workflows/run-on-pr.yml b/.github/workflows/run-on-pr.yml index 41cda08a..e8f10f38 100644 --- a/.github/workflows/run-on-pr.yml +++ b/.github/workflows/run-on-pr.yml @@ -27,7 +27,10 @@ jobs: uses: actions/checkout@v4 with: repository: 'bevyengine/bevy' - ref: 'pull/${{ inputs.pr }}/head' + - name: Switch to PR + run: | + git fetch origin pull/${{ inputs.pr }}/head:pr-${{ inputs.pr }} + git switch pr-${{ inputs.pr }} - name: Get Environment id: env run: |