Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support single-subject attestations #219

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve documentation/wording
  • Loading branch information
AA-Turner committed Mar 1, 2025
commit 6d832e666b0fd580dd532f8326ad8897fede80b1
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -137,8 +137,11 @@ Attestations are saved in the JSON-serialized [Sigstore bundle][6] format.

If multiple subjects are being attested at the same time, a single attestation
will be created with references to each of the supplied subjects.
If `single-subject-attestations` is true, each attestation will be written
to the output file on a separate line (using the [JSON Lines][7] format).

If the `single-subject-attestations` option has been set to true,
one attestation will be generated per provided subject.
All of these attestations will be written to the output file,
using the [JSON Lines][7] format (one attestation per line).

## Attestation Limits

4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
@@ -66,9 +66,7 @@ inputs:
required: false
single-subject-attestations:
description: >
If true, generate one attestation per subject,
otherwise generate a single attestations with multiple subjects.
Defaults to false.
If true, generate one attestation per subject. Defaults to false.
default: false
required: false
outputs: