Skip to content

Commit

Permalink
switch to branch after cloning (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
mockersf committed Mar 18, 2024
1 parent e32e792 commit f8052eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/run-on-pr.yml
Expand Up @@ -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: |
Expand Down

0 comments on commit f8052eb

Please sign in to comment.