We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3165ef1 + 6ea8dbd commit 456e309Copy full SHA for 456e309
.github/workflows/smoketest.yaml
@@ -16,6 +16,7 @@ permissions:
16
jobs:
17
Linux:
18
runs-on: ubuntu-latest
19
+ if: github.event.issue.pull_request # Make sure the comment is on a PR
20
steps:
21
- name: branch-deploy
22
id: branch-deploy
@@ -31,10 +32,14 @@ jobs:
31
32
with:
33
python-version: '3.11'
34
- - name: Checkout
35
+ - name: Checkout the repo
36
uses: actions/checkout@v5
- with:
37
- ref: ${{ github.head_ref }}
+
38
+ - name: Checkout the PR
39
+ env:
40
+ PR_NUMBER: ${{ github.event.issue.number }}
41
+ run: |
42
+ gh pr checkout $PR_NUMBER
43
44
- name: Setup Python venv
45
run: |
0 commit comments