Skip to content

Commit a4ca478

Browse files
Checkout out correct ref
1 parent 7f93da1 commit a4ca478

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

.github/workflows/smoketest.yaml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,9 @@ jobs:
3737

3838
- if: steps.branch-deploy.outputs.continue == "true"
3939
name: Checkout the repo
40-
uses: actions/checkout@v5
41-
42-
- if: steps.branch-deploy.outputs.continue == "true"
43-
name: Checkout the PR
44-
env:
45-
PR_NUMBER: ${{ github.event.issue.number }}
46-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
47-
run: |
48-
gh pr checkout $PR_NUMBER
40+
uses: actions/checkout@v6
41+
with:
42+
ref: ${{ steps.branch-deploy.outputs.sha }}
4943

5044
- if: steps.branch-deploy.outputs.continue == "true"
5145
name: Setup Python venv

0 commit comments

Comments
 (0)