Skip to content

Commit cfb34a7

Browse files
fix(ci): permissions to publish npm provenance (Kong#351)
1 parent 36d0de1 commit cfb34a7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ jobs:
6363

6464
publish:
6565
runs-on: ubuntu-latest
66+
permissions:
67+
contents: write
68+
id-token: write # For using token to sign images
69+
actions: read # For getting workflow run info to build provenance
70+
packages: write # Required for publishing provenance. Issue: https://github.com/slsa-framework/slsa-github-generator/tree/main/internal/builders/container#known-issues
6671
if: ${{ github.ref_type == 'tag' && github.repository_owner == 'Kong' }}
6772
steps:
6873
# checkout tag

0 commit comments

Comments
 (0)