Skip to content

Commit 42278b6

Browse files
committed
gh pr doesn't checkout by sha
1 parent 19e1b4f commit 42278b6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/smoketest.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,12 @@ jobs:
4848

4949
- name: Checkout the PR
5050
env:
51+
PR_NUMBER: ${{ github.event.issue.number }}
5152
REF: ${{ needs.permission-check.outputs.sha }}
5253
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5354
run: |
54-
gh pr checkout $REF
55+
gh pr checkout $PR_NUMBER
56+
git checkout $REF
5557
5658
- name: Setup Python venv
5759
run: |

0 commit comments

Comments
 (0)