Skip to content

Commit aac9f1c

Browse files
committed
update permissions
1 parent 921fc71 commit aac9f1c

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ on:
2323
jobs:
2424
build:
2525
runs-on: ubuntu-latest
26+
permissions:
27+
contents: read
28+
actions: read
29+
checks: write
2630

2731
steps:
2832
- name: Checkout
@@ -59,6 +63,9 @@ jobs:
5963
runs-on: ubuntu-latest
6064
needs: build
6165
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
66+
permissions:
67+
contents: read
68+
packages: write
6269

6370
steps:
6471
- name: Download Artifact

0 commit comments

Comments
 (0)