Skip to content

Grant artifact-metadata write permission for attestations#1001

Open
kvch wants to merge 1 commit into
mainfrom
attest-storage-record-perms
Open

Grant artifact-metadata write permission for attestations#1001
kvch wants to merge 1 commit into
mainfrom
attest-storage-record-perms

Conversation

@kvch

@kvch kvch commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Description

actions/attest-build-provenance was updated to v4. It defaults create-storage-record to
true when push-to-registry is set, so every attestation now tries to create an
Artifact Metadata Storage Record. Without the artifact-metadata permission
the attempt fails with a non-fatal warning, leaving the job green while the
record is silently never written.

Type of Change

Please select the relevant option(s):

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📚 Documentation update
  • 🔧 Refactoring (no functional changes)
  • ⚡ Performance improvement
  • 🧪 Test coverage improvement
  • 🔨 Build/CI changes
  • 🧹 Code cleanup

Changes Made

  • New permission in builder actions

Checklist

  • Code follows project style guidelines
  • Self-review completed
  • Code is well-commented
  • Documentation updated where necessary

actions/attest-build-provenance v4 defaults create-storage-record to true
when push-to-registry is set, so every attestation now tries to create an
Artifact Metadata Storage Record. Without the artifact-metadata permission
the attempt fails with a non-fatal warning, leaving the job green while the
record is silently never written.
@kvch kvch enabled auto-merge (squash) July 14, 2026 15:45
@kvch kvch requested a review from exekias July 14, 2026 16:22
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