Skip to content

fix: add artifact-metadata permission for release attestations - #351

Merged
c-vigo merged 2 commits into
release/0.3.1from
bugfix/348-migrate-to-actions-attest
Mar 17, 2026
Merged

c-vigo merged 2 commits into
release/0.3.1from
bugfix/348-migrate-to-actions-attest

Conversation

@c-vigo

@c-vigo c-vigo commented Mar 17, 2026

Copy link
Copy Markdown
Contributor

Description

Adds the missing artifact-metadata: write permission 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 feature
  • fix -- Bug fix
  • docs -- Documentation only
  • chore -- Maintenance task (deps, config, etc.)
  • refactor -- Code restructuring (no behavior change)
  • test -- Adding or updating tests
  • ci -- CI/CD pipeline changes
  • build -- Build system or dependency changes
  • revert -- Reverts a previous commit
  • style -- Code style (formatting, whitespace)

Modifiers

  • Breaking change (!) -- This change breaks backward compatibility

Changes Made

  • .github/workflows/release.yml
    • Add artifact-metadata: write under publish job permissions for attestation metadata persistence.
  • CHANGELOG.md
    • Add 0.3.1 Fixed entry for issue #348.
  • assets/workspace/.devcontainer/CHANGELOG.md
    • Sync mirrored changelog entry via repository manifest hook.

Changelog Entry

Fixed

  • Release attestation warnings reduced by granting artifact metadata permission (#348)
    • Add artifact-metadata: write to the release publish job so attestation steps can persist metadata storage records
    • Keep actions/attest-based SBOM attestation path and remove missing-permission warnings from publish runs

Testing

  • Tests pass locally (just test)
  • Manual testing performed (describe below)

Manual Testing Details

  • Verified workflow diff includes only the permission addition in publish job.
  • Verified attestation steps use actions/attest and no actions/attest-sbom remains in .github/workflows/release.yml.
  • Verified pre-commit hooks passed on both commits.

Checklist

  • My code follows the project's style guidelines
  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly (edit docs/templates/, then run just docs)
  • I have updated CHANGELOG.md in the [Unreleased] section (and pasted the entry above)
  • My changes generate no new warnings or errors
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published

Additional Notes

This PR targets release/0.3.1 because the warning was observed in that release workflow run path.

Refs: #348

@c-vigo c-vigo self-assigned this Mar 17, 2026
@c-vigo
c-vigo requested a review from Copilot March 17, 2026 16:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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: write to the .github/workflows/release.yml publish job 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.

@c-vigo
c-vigo merged commit 5b37cb4 into release/0.3.1 Mar 17, 2026
16 checks passed
@c-vigo
c-vigo deleted the bugfix/348-migrate-to-actions-attest branch March 17, 2026 16:16
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.

2 participants