Skip to content

Commit 31c0f84

Browse files
authored
Define workflow permissions (#206)
1 parent 3449dd0 commit 31c0f84

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/repository-maintenance.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ on:
55
branches: ['main']
66
workflow_dispatch:
77

8+
permissions:
9+
actions: read
10+
contents: write
11+
pull-requests: read
12+
id-token: write
13+
814
concurrency:
915
group: ${{ github.workflow }}${{ github.ref_name != github.event.repository.default_branch && github.ref || github.run_id }}
1016
cancel-in-progress: ${{ github.ref_name != github.event.repository.default_branch }}

0 commit comments

Comments
 (0)