Skip to content

Commit 96a1999

Browse files
authored
chore: fix permissions on auto-labler and release-image (#307)
Signed-off-by: jmeridth <jmeridth@gmail.com>
1 parent 184ab3c commit 96a1999

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/auto-labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ permissions:
99
jobs:
1010
main:
1111
permissions:
12-
contents: write
12+
contents: read
1313
pull-requests: write
1414
uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
1515
with:

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ jobs:
2121
release_image:
2222
needs: release
2323
permissions:
24-
contents: write
25-
discussions: write
24+
contents: read
2625
packages: write
27-
pull-requests: read
26+
id-token: write
27+
attestations: write
2828
uses: github/ospo-reusable-workflows/.github/workflows/release-image.yaml@6a0a6d0de2227f9d5d11af90a87b2e2fd6b5463d
2929
with:
3030
image-name: ${{ github.repository }}

0 commit comments

Comments
 (0)