Skip to content

Commit 54299b1

Browse files
committed
build: harden release.yml permissions
Signed-off-by: Alex <[email protected]>
1 parent 4c2d5e7 commit 54299b1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ on:
44
branches:
55
- master
66

7+
permissions: {}
78
jobs:
89
stable:
10+
permissions:
11+
contents: write # to create release
12+
913
uses: the-guild-org/shared-config/.github/workflows/release-stable.yml@main
1014
with:
1115
releaseScript: release

0 commit comments

Comments
 (0)