Skip to content

Commit 11bb727

Browse files
Add required permissions for build attestations
Add id-token, attestations, and contents permissions to the build-and-inspect job to enable OIDC token generation for build provenance attestations. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent a0cd289 commit 11bb727

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on: [push, pull_request, workflow_dispatch]
55
jobs:
66
build-and-inspect:
77
runs-on: ubuntu-latest
8+
permissions:
9+
id-token: write
10+
attestations: write
11+
contents: read
812

913
steps:
1014
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)