Commit 7863c26
ci(release-ecosystems): fix zizmor template-injection findings
The "Audit GitHub Actions" check (zizmor) flagged two HIGH template-injection
findings in the new workflow: `github.event.release.tag_name` and
`inputs.version` interpolated directly into the resolve-version `run` block.
Pass event/input data through `env:` and reference `$RELEASE_TAG`/
`$INPUT_VERSION`/`$EXPECTED_VERSION` instead (also covers the `needs.*.outputs`
informational findings). The remaining `use-trusted-publishing` info on
`gem push` is suppressed with a justified `# zizmor: ignore` (OIDC trusted
publishing is the documented future hardening). `zizmor` now reports no findings.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1068be3 commit 7863c26
2 files changed
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
38 | 44 | | |
39 | | - | |
40 | | - | |
| 45 | + | |
| 46 | + | |
41 | 47 | | |
42 | | - | |
| 48 | + | |
43 | 49 | | |
44 | 50 | | |
45 | 51 | | |
| |||
61 | 67 | | |
62 | 68 | | |
63 | 69 | | |
| 70 | + | |
| 71 | + | |
64 | 72 | | |
65 | 73 | | |
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | | - | |
70 | | - | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
76 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
77 | 89 | | |
78 | 90 | | |
79 | 91 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments