Commit 948a0cd
Add zizmor GitHub Actions static analysis (#78)
* Add zizmor GitHub Actions static analysis
Also applies zizmor --fix=all to existing workflows: pins previously
unpinned/mutable action refs to commit SHAs and adds persist-credentials:
false to checkout steps, clearing every pre-existing high-severity finding.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(ci): add back pull_request trigger for zizmor workflow, scope push to master
Bot reviewers (Copilot, Sentry) correctly flagged that a push-only trigger
misses fork-based PRs and can't act as a required merge-gate status check.
Scoping push to the default branch avoids the original double-run problem
(push firing on every commit to a same-repo PR branch, redundant with
pull_request) while restoring PR-gate coverage.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
* fix(ci): lower zizmor gate to min-severity=medium, fix resulting findings
- ci.yml: add `permissions: contents: read` to javascript-tests job
(checkout, yarn install, lint, test, rollup build only, no writes needed)
- actions-static-analysis.yml: lower zizmor gate from min-severity=high to
min-severity=medium now that the excessive-permissions finding above is
fixed
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>1 parent 03bfb6d commit 948a0cd
2 files changed
Lines changed: 40 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | | - | |
| 14 | + | |
11 | 15 | | |
12 | 16 | | |
13 | 17 | | |
| |||
0 commit comments