We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c33f52 commit 19e1b4fCopy full SHA for 19e1b4f
1 file changed
.github/workflows/smoketest.yaml
@@ -20,6 +20,7 @@ jobs:
20
if: github.event.issue.pull_request # Make sure the comment is on a PR
21
outputs:
22
allowed: ${{ steps.branch-deploy.outputs.continue }}
23
+ sha: ${{ steps.branch-deploy.outputs.sha }}
24
steps:
25
- name: branch-deploy
26
id: branch-deploy
@@ -47,10 +48,10 @@ jobs:
47
48
49
- name: Checkout the PR
50
env:
- PR_NUMBER: ${{ github.event.issue.number }}
51
+ REF: ${{ needs.permission-check.outputs.sha }}
52
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53
run: |
- gh pr checkout $PR_NUMBER
54
+ gh pr checkout $REF
55
56
- name: Setup Python venv
57
0 commit comments