Skip to content

Commit f45351f

Browse files
authored
fix(.github/workflows): detected GitHub workflow tokens with excessive permissions in auto-assign.yml (#4021)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 8d5b1cc commit f45351f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/auto-assign.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request_target:
55
types: [opened, reopened, ready_for_review]
66

7+
permissions:
8+
pull-requests: write
9+
710
jobs:
811
add-assignee:
912
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)