Skip to content

Commit c0426a6

Browse files
committed
Grant id-token write for cosign OIDC signing
Shipyard's release script now signs pushed images with cosign keyless (Sigstore OIDC), which requires id-token: write on the release workflow. Replace the empty permissions block with the minimal set: id-token: write for OIDC and contents: read for checkout. Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
1 parent 1ec51f5 commit c0426a6

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ on:
88
- release-0.19
99
- release-*
1010

11-
permissions: {}
11+
permissions:
12+
id-token: write # cosign keyless via Sigstore OIDC
13+
contents: read
1214

1315
jobs:
1416
release:

0 commit comments

Comments
 (0)