Commit c0d93db
[ci] Integrate zizmor static analysis (#2810)
Integrates the zizmor static analysis tool into the CI pipeline to
enforce security best practices for GitHub Actions.
- Added a zizmor job to ci.yml with persona: pedantic to enforce
strict checking.
- Configured the job to fail the build on findings, blocking merges.
- Refactored run scripts in all workflows to use environment variables
instead of inline interpolation, preventing potential template
injection vulnerabilities.
- Pinned action versions and tightened permissions across all
workflows.
- Added concurrency groups to all workflows to manage parallel runs.
- Suppressed false positives and necessary write permissions where
appropriate.
Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>1 parent aa09c4f commit c0d93db
File tree
8 files changed
+228
-72
lines changed- .github
- workflows
8 files changed
+228
-72
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | 28 | | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
25 | 32 | | |
26 | 33 | | |
27 | 34 | | |
| |||
35 | 42 | | |
36 | 43 | | |
37 | 44 | | |
| 45 | + | |
| 46 | + | |
38 | 47 | | |
39 | 48 | | |
40 | 49 | | |
41 | | - | |
42 | | - | |
| 50 | + | |
| 51 | + | |
43 | 52 | | |
44 | 53 | | |
45 | 54 | | |
46 | 55 | | |
47 | | - | |
| 56 | + | |
48 | 57 | | |
49 | 58 | | |
50 | 59 | | |
| |||
0 commit comments