We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb458c1 + 10752b4 commit 0ab9811Copy full SHA for 0ab9811
1 file changed
.github/workflows/smoketest.yaml
@@ -14,10 +14,12 @@ permissions:
14
statuses: read # Required for checking if all commit statuses are "success" in order to deploy the PR
15
16
jobs:
17
- Linux:
+ permission-check:
18
runs-on: ubuntu-latest
19
environment: smoketest
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
steps:
24
- name: branch-deploy
25
id: branch-deploy
@@ -29,6 +31,12 @@ jobs:
29
31
stable_branch: "main"
30
32
update_branch: "disabled"
33
34
+ run-tests:
35
+ runs-on: ubuntu-latest
36
+ environment: smoketest
37
+ needs: permission-check
38
+ if: needs.permission-check.outputs.allowed == 'true'
39
+ steps:
40
- name: Setup Python
41
uses: actions/setup-python@v5
42
with:
0 commit comments