Skip to content

Commit df74e34

Browse files
authored
Fix ci permissions issue
1 parent ddc1a0a commit df74e34

File tree

5 files changed

+12
-0
lines changed

5 files changed

+12
-0
lines changed

.github/workflows/build-scripts-updated.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ on:
1111
- ".github/workflows/build-sealos-cluster-image.yml"
1212
- "!**/*.md"
1313

14+
permissions:
15+
contents: read
16+
actions: write
17+
1418
concurrency:
1519
group: build-scripts-updated-${{ github.ref }}
1620
cancel-in-progress: true

.github/workflows/dockerize-runtime-exporter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ permissions:
2121
pull-requests: write
2222
packages: write
2323
contents: read
24+
actions: write
2425

2526
concurrency:
2627
group: dockerize-runtime-exporter-${{ github.ref }}

.github/workflows/dockerize-server.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ permissions:
2222
pull-requests: write
2323
packages: write
2424
contents: read
25+
actions: write
2526

2627
concurrency:
2728
group: dockerize-server-${{ github.ref }}

.github/workflows/dockerize-web.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ permissions:
2323
pull-requests: write
2424
packages: write
2525
contents: read
26+
actions: write
2627

2728
concurrency:
2829
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ env:
1010
# Common versions
1111
GO_VERSION: "1.19"
1212

13+
permissions:
14+
contents: read
15+
packages: write
16+
actions: write
17+
1318
jobs:
1419
dockerize-server:
1520
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)