Skip to content

UID2-6764: enable SLSA provenance attestation#632

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

UID2-6764: enable SLSA provenance attestation#632
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/uid2-admin:<tag> --owner UnifiedID2.

Linked: UID2-6764

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
…ecord

actions/attest@v4.1.0 calls GitHub's artifact-metadata API
(create-storage-record:true by default). Without this permission the
run logs 'Failed to persist storage record'; attestation still works
but the new GitHub UI "Attestations" tab doesn't get cross-linked
metadata. Matches the addition on uid2-shared-actions#228.

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