Skip to content

Commit fd5a51e

Browse files
hyperpolymathclaude
andcommitted
feat(ci): attest build provenance
Add GitHub-native build-provenance attestation (actions/attest-build-provenance@v2, SHA-pinned) to the release workflow. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent eb352f5 commit fd5a51e

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,10 @@ jobs:
8888
runs-on: ubuntu-latest
8989
timeout-minutes: 15
9090
needs: [build, sbom]
91+
permissions:
92+
contents: write
93+
id-token: write
94+
attestations: write
9195
steps:
9296
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4
9397
- name: Download artifacts
@@ -100,6 +104,10 @@ jobs:
100104
find release-artifacts -type f -exec cp {} release/ \;
101105
cd release
102106
sha256sum * > checksums.txt
107+
- name: Attest build provenance
108+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2
109+
with:
110+
subject-path: 'release/*'
103111
- name: Extract version
104112
id: version
105113
run: |

0 commit comments

Comments
 (0)