Commit ef0f45d
fix(ci): install syft in release.yml + add workflow_dispatch recovery (#121)
The v0.3.1 release run failed: goreleaser's `sboms:` step shells out to syft,
but release.yml installed only cosign — `exec: "syft": not found`. Builds,
archives, and checksums all succeeded; SBOM cataloging aborted the release
before artifacts/signature attached.
- Install syft via anchore/sbom-action/download-syft (pin reused from
security.yml) before the goreleaser step.
- Add workflow_dispatch(tag) + checkout ref=${{ inputs.tag || github.ref }} so
the fixed workflow can re-run against an already-pushed (immutable) tag;
goreleaser `release: mode: append` attaches artifacts to the existing release
without re-cutting the tag.
actionlint clean. After merge, dispatch with tag=v0.3.1 to recover its signed
artifacts.
Claude-Session: https://claude.ai/code/session_01LDQVJrixs2nJoea67a8pEG
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent 90b42e4 commit ef0f45d
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
46 | 55 | | |
47 | 56 | | |
48 | 57 | | |
49 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
50 | 62 | | |
51 | 63 | | |
52 | 64 | | |
| |||
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
80 | 99 | | |
81 | 100 | | |
82 | 101 | | |
| |||
0 commit comments