Skip to content

Commit 104a974

Browse files
Change workflow trigger to an issue comment, so that it can use COPILOT_TOKEN.
1 parent 7ae83f7 commit 104a974

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1-
name: Basic test - run the examples to check for errors
1+
name: Smoke test - run the examples to check for errors
22

33
on:
4-
pull_request
4+
issue_comment:
5+
types: [created] # Add "smoke test" as a PR comment to trigger this workflow.
56

67
permissions:
78
contents: read
@@ -10,6 +11,14 @@ jobs:
1011
Linux:
1112
runs-on: ubuntu-latest
1213
steps:
14+
- name: branch-deploy
15+
id: branch-deploy
16+
uses: github/branch-deploy@48285b12b35e47e2dde0c27d2abb33daa846d98b # v11.0.0
17+
with:
18+
trigger: "smoke test"
19+
reaction: "eyes"
20+
stable_branch: "main"
21+
1322
- name: Setup Python
1423
uses: actions/setup-python@v5
1524
with:

0 commit comments

Comments
 (0)