Skip to content

Commit c160ac5

Browse files
committed
Update permissions to be less encompassing - only what we need for AICodeBot
1 parent 438f10f commit c160ac5

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

.github/workflows/aicodebot.yml

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,10 @@ on: [push]
44

55
# Permissions for the GitHub token.
66
# This is so the bot can comment on the commit or pull request with the results of the code review.
7-
#permissions:
8-
# pull-requests: write
9-
# issues: write
10-
# contents: write
11-
# Temporary grant all for testing
12-
137
permissions:
14-
actions: write
15-
checks: write
16-
contents: write
17-
deployments: write
18-
issues: write
19-
packages: write
208
pull-requests: write
21-
repository-projects: write
22-
security-events: write
23-
statuses: write
9+
issues: write
10+
contents: write
2411

2512
jobs:
2613
review:

0 commit comments

Comments
 (0)