Skip to content

Commit cb4ac22

Browse files
feat(ci): attest build provenance (#39)
Estate attestation rollout: add GitHub-native build-provenance attestation (actions/attest-build-provenance@v2, pinned) to the release workflow, attesting the SAME artifacts uploaded by softprops/action-gh-release. Attested path(s): _build/prod/rel/safe_brute_force/*.tar.gz Pinned: actions/attest-build-provenance@e8998f9 # v2
1 parent dba3b89 commit cb4ac22

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,10 @@ jobs:
316316
timeout-minutes: 10
317317
needs: [test, coverage, security, rsr-compliance]
318318
if: startsWith(github.ref, 'refs/tags/v')
319+
permissions:
320+
contents: write
321+
id-token: write
322+
attestations: write
319323

320324
steps:
321325
- name: Checkout code
@@ -342,6 +346,11 @@ jobs:
342346
env:
343347
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
344348

349+
- name: Attest build provenance
350+
uses: actions/attest-build-provenance@e8998f949152b193b063cb0ec769d69d929409be # v2
351+
with:
352+
subject-path: '_build/prod/rel/safe_brute_force/*.tar.gz'
353+
345354
###########################################################################
346355
# Notify
347356
###########################################################################

0 commit comments

Comments
 (0)