mirror of
https://github.com/okieselbach/AutopilotMonitor.git
synced 2026-10-24 04:32:32 +00:00
ci: skip the provenance attestation on test runs of build-agent
A dispatch with upload_blob=false and create_release=false publishes nothing, so the Sigstore attestation would write a permanent public transparency-log entry for bytes nobody ever receives. The step now runs only when the run actually ships something. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -471,7 +471,10 @@ jobs:
|
||||
# EXEs are subjects of their own so an extracted binary can be verified without the ZIP.
|
||||
# Runs after signing -- the digests must be those of the signed files.
|
||||
# Verify: gh attestation verify <file> --repo okieselbach/AutopilotMonitor
|
||||
# Skipped when a run neither uploads nor releases: a test dispatch would otherwise write
|
||||
# a permanent entry to the public transparency log for bytes nobody ever receives.
|
||||
- name: Attest build provenance
|
||||
if: inputs.upload_blob || inputs.create_release
|
||||
uses: actions/attest-build-provenance@v4
|
||||
with:
|
||||
subject-path: |
|
||||
|
||||
Reference in New Issue
Block a user