Skip to content

Commit e4046c5

Browse files
committed
[actions] fix workflows permissions
1 parent 752e9c6 commit e4046c5

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,15 @@ on:
77
types:
88
- created
99

10+
permissions:
11+
contents: read
12+
1013
# jobs
1114
jobs:
1215
build:
1316
name: Build
1417
permissions:
18+
contents: read
1519
packages: write
1620
uses: ./.github/workflows/docker-build.yml
1721
with:
@@ -22,8 +26,6 @@ jobs:
2226

2327
deploy:
2428
runs-on: ubuntu-latest
25-
permissions:
26-
contents: read
2729
needs:
2830
- build
2931

0 commit comments

Comments
 (0)