Skip to content

UID2-6764: enable SLSA provenance attestation#2531

Open
BehnamMozafari wants to merge 2 commits intomainfrom
bmz-UID2-6764-attestation-perms
Open

UID2-6764: enable SLSA provenance attestation#2531
BehnamMozafari wants to merge 2 commits intomainfrom
bmz-UID2-6764-attestation-perms

Conversation

@BehnamMozafari
Copy link
Copy Markdown
Contributor

Summary

Adds id-token: write and attestations: write to the publish job(s) so the shared workflow can sign image provenance after uid2-shared-actions#228 merges and the v3 float is promoted.

This change is additive and harmless before the shared-actions side lands — the permissions are granted but only used once actions/attest@v4 runs from v3.

Test plan

  • After uid2-shared-actions#228 merges and v3 is promoted, verify a real publish produces a signed attestation with gh attestation verify oci://ghcr.io/iabtechlab/<image>:<tag> --owner UnifiedID2.

Linked: UID2-6764

🤖 Generated with Claude Code

BehnamMozafari and others added 2 commits May 8, 2026 15:54
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Reusable workflows take the intersection of caller and callee permissions.
Adding only id-token + attestations would have stripped the contents/
packages/security-events/pull-requests writes that the existing publish
implicitly inherited from the workflow default, breaking the build.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant