Support single-subject attestations - #466
Draft
bdehamer wants to merge 1 commit into
Draft
Conversation
Add an opt-in mode that creates, paces, and reports one attestation per resolved subject while preserving the existing multi-subject default. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 0c01927e-4bdb-4eef-9e04-ea9a3240ff67
bdehamer
force-pushed
the
bdehamer/single-subject-attestations
branch
from
July 30, 2026 13:42
958a943 to
4c98ef7
Compare
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.
Context
actions/attestcurrently combines every resolved subject into one attestation. Some consumers—notably PyPI and PEP 740 tooling—require each attestation statement to contain exactly one subject.This adds an opt-in mode for that use case while retaining the existing multi-subject behavior by default. Addresses #213.
Changes
single-subject-attestationsinput, limited to 100 resolved subjectsresults-pathoutput with per-subject IDs, URLs, bundle lines, and errorspush-to-registryin single-subject mode using the existing registry pathValidation
npm run format:checknpm run lintnpm run ci-testnpm run packagegit diff --check