Skip to content

Commit ece3f5f

Browse files
committed
feat(action): expose a keyed input so callers can attest keyless
forgeseal signs with its offline CA by default. A downstream assayward gate discovers the SLSA provenance from the Sigstore bundle written beside it, which a keyed run does not produce, so an action-based caller had no way to generate gate-verifiable evidence. Add keyed (default true, unchanged behavior) and pass --keyed=false through when set.
1 parent 9328e8b commit ece3f5f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

action.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ inputs:
2222
lockfile:
2323
description: 'Explicit path to lockfile (auto-detected if omitted)'
2424
required: false
25+
keyed:
26+
description: 'Sign with forgeseal offline CA (true, the default) instead of keyless Sigstore. Set false for Fulcio/Rekor keyless signing, which is what a downstream assayward gate needs in order to discover the provenance bundle.'
27+
required: false
28+
default: 'true'
2529
sign:
2630
description: 'Sign artifacts with Sigstore keyless signing'
2731
required: false
@@ -131,6 +135,9 @@ runs:
131135
if [ "${{ inputs.attest }}" = "false" ]; then
132136
ARGS+=("--attest=false")
133137
fi
138+
if [ "${{ inputs.keyed }}" = "false" ]; then
139+
ARGS+=("--keyed=false")
140+
fi
134141
if [ "${{ inputs.vex-triage }}" = "true" ]; then
135142
ARGS+=("--vex-triage")
136143
fi

0 commit comments

Comments
 (0)