Skip to content

Commit ad386d7

Browse files
brynaryclaude
andauthored
feat: add attestations for installer scripts (#2514)
## Summary - Add build provenance attestations for installer scripts (`install.sh` and `install.ps1`) - Add `attestations: write` permission to the `release_installer` workflow - Attestations are generated after checkout and before S3 upload ## Context Currently, only the binary archives (`.tar.xz`, `.zip`) are attested. This PR extends attestations to the installer scripts themselves, completing the chain of trust for the entire distribution pipeline. ## Benefits - Users can verify installer authenticity with `gh attestation verify install.sh --owner qltysh` - Protection against compromised distribution channels - Compliance with supply chain security best practices ## Testing - All existing tests pass - Changes are limited to GitHub Actions workflow configuration - Will be verified when workflow runs on merge to main 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent 2438e7e commit ad386d7

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

.github/workflows/release_installer.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88
- installer/install.*
99
permissions:
1010
actions: write
11+
attestations: write
1112
contents: read
12-
"id-token": "write"
13+
id-token: write
1314
jobs:
1415
test:
1516
uses: ./.github/workflows/installer_test.yml
@@ -21,6 +22,12 @@ jobs:
2122
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
2223
with:
2324
fetch-depth: 0
25+
- name: Generate attestations for installer scripts
26+
uses: actions/attest-build-provenance@977bb373ede98d70efdf65b84cb5f73e068dcc2a
27+
with:
28+
subject-path: |
29+
installer/install.sh
30+
installer/install.ps1
2431
- name: Setup AWS CLI
2532
uses: aws-actions/configure-aws-credentials@a03048d87541d1d9fcf2ecf528a4a65ba9bd7838
2633
with:

0 commit comments

Comments
 (0)