Skip to content

Commit 02cdc6a

Browse files
authored
Add permissions to job (#117)
2 parents e06394a + 73d7b4c commit 02cdc6a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,13 @@ on:
66
- main
77
types: [closed]
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
release:
14+
permissions:
15+
contents: write
1116
runs-on: ubuntu-latest
1217
if: github.event.pull_request.merged
1318
steps:

0 commit comments

Comments
 (0)