File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed
Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change 44 issue_comment :
55 types : [created] # Add "smoke test" as a PR comment to trigger this workflow.
66
7+ # Permissions needed for reacting and adding comments for IssueOps commands
8+ # See: https://github.com/github/branch-deploy/blob/48285b12b35e47e2dde0c27d2abb33daa846d98b/README.md?plain=1#L189-L197
79permissions :
8- contents : read
9- pull-requests : write # For adding a reaction to the comment
10+ pull-requests : write # Required for commenting on PRs
11+ deployments : write # Required for updating deployment statuses
12+ contents : write # Required for reading/writing the lock file
13+ checks : read # Required for checking if the CI checks have passed in order to deploy the PR
14+ statuses : read # Required for checking if all commit statuses are "success" in order to deploy the PR
1015
1116jobs :
1217 Linux :
@@ -19,14 +24,17 @@ jobs:
1924 trigger : " smoke test"
2025 reaction : " eyes"
2126 stable_branch : " main"
27+ update_branch : " disable"
2228
2329 - name : Setup Python
2430 uses : actions/setup-python@v5
2531 with :
2632 python-version : ' 3.11'
2733
2834 - name : Checkout
29- uses : actions/checkout@v3
35+ uses : actions/checkout@v5
36+ with :
37+ ref : ${{ github.head_ref }}
3038
3139 - name : Setup Python venv
3240 run : |
You can’t perform that action at this time.
0 commit comments