Skip to content

Commit 80d79b4

Browse files
committed
build: harden add-to-project.yml permissions
Signed-off-by: Alex <[email protected]>
1 parent 508015b commit 80d79b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/add-to-project.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,11 @@ on:
99
types:
1010
- opened
1111

12+
permissions: {}
1213
jobs:
1314
add-to-project:
15+
permissions:
16+
repository-projects: write # to add to projects (actions/add-to-project)
1417
name: Add new bugs and PRs to This Week project
1518
runs-on: ubuntu-latest
1619
steps:

0 commit comments

Comments
 (0)