Repository navigation
fix: add artifact-metadata permission for release attestations - #351
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
This PR addresses GitHub Actions release publish warnings for provenance/SBOM attestations by granting the publish job the missing permission needed to persist attestation artifact metadata, and records the fix in the changelog for the upcoming 0.3.1 release.
Changes:
- Grant
artifact-metadata: writeto the.github/workflows/release.ymlpublishjob so attestation metadata storage records can be created. - Add a
0.3.1“Fixed” changelog entry referencing issue #348. - Mirror the same changelog entry into the workspace devcontainer changelog copy.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Adds artifact-metadata: write permission to the release publish job to support attestation metadata persistence. |
CHANGELOG.md |
Records the fix under 0.3.1 → Fixed for issue #348. |
assets/workspace/.devcontainer/CHANGELOG.md |
Syncs the same 0.3.1 changelog entry into the devcontainer changelog mirror. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Adds the missing
artifact-metadata: writepermission to the release publish job so attestation metadata storage records can be persisted and related warnings are removed during release publish runs.Type of Change
feat-- New featurefix-- Bug fixdocs-- Documentation onlychore-- Maintenance task (deps, config, etc.)refactor-- Code restructuring (no behavior change)test-- Adding or updating testsci-- CI/CD pipeline changesbuild-- Build system or dependency changesrevert-- Reverts a previous commitstyle-- Code style (formatting, whitespace)Modifiers
!) -- This change breaks backward compatibilityChanges Made
.github/workflows/release.ymlartifact-metadata: writeunderpublishjob permissions for attestation metadata persistence.CHANGELOG.md0.3.1Fixed entry for issue#348.assets/workspace/.devcontainer/CHANGELOG.mdChangelog Entry
Fixed
artifact-metadata: writeto the release publish job so attestation steps can persist metadata storage recordsactions/attest-based SBOM attestation path and remove missing-permission warnings from publish runsTesting
just test)Manual Testing Details
publishjob.actions/attestand noactions/attest-sbomremains in.github/workflows/release.yml.Checklist
docs/templates/, then runjust docs)CHANGELOG.mdin the[Unreleased]section (and pasted the entry above)Additional Notes
This PR targets
release/0.3.1because the warning was observed in that release workflow run path.Refs: #348