Commit 900ac3a
feat(ci): attest build provenance (#661)
Estate build-provenance attestation rollout.
Adds `actions/attest-build-provenance@v2` (SHA-pinned, per the repo's
full-SHA `uses:` policy) to the `build` matrix job of `release.yml`.
**Attested:** each per-target compiler binary (`affinescript-<target>`
for linux-x64 / macos-x64 / macos-arm64) right after it is staged,
before the `gh release upload`.
**Changes (additive only):**
- Added a job-level `permissions` block to `build`: `contents: write`
(preserves the existing `gh release upload`) + `id-token: write` +
`attestations: write`.
- Added an "Attest build provenance" step after "Stage the binary", with
`subject-path: 'affinescript-${{ matrix.target }}'`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>1 parent f90d57b commit 900ac3a
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
| |||
98 | 102 | | |
99 | 103 | | |
100 | 104 | | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
101 | 109 | | |
102 | 110 | | |
103 | 111 | | |
| |||
0 commit comments