Skip to content

Commit 6e79e30

Browse files
committed
check with explicit write permissions
1 parent 2852d9b commit 6e79e30

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr_approval.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ on:
1313
# Without these permissions, we get a 403 error from github
1414
# for trying to modify the pull request for newer project.
1515
# Source: https://stackoverflow.com/a/76994510
16-
permissions: write-all
16+
permissions:
17+
contents: write
18+
actions: write
19+
pull-requests: write
20+
checks: write
1721

1822
jobs:
1923
check-approvals:

0 commit comments

Comments
 (0)