Skip to content

Commit

Permalink
fix(ci): permissions to publish npm provenance (#351)
Browse files Browse the repository at this point in the history
  • Loading branch information
saisatishkarra authored May 16, 2024
1 parent 36d0de1 commit cfb34a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ jobs:

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

0 comments on commit cfb34a7

Please sign in to comment.