Skip to content

Commit 62ceab8

Browse files
Add more permissions
1 parent 114cb8c commit 62ceab8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/smoketest.yaml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,14 @@ on:
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
79
permissions:
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

1116
jobs:
1217
Linux:

0 commit comments

Comments
 (0)