You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: address zizmor findings in actions and release workflow (#1630)
## Summary
- Apply zizmor auto-fixes to `build-upstream`, `clone`, and
`set-snapshot-version` composite actions: untrusted `${{ inputs.* }}`
values now flow through `env:` and are referenced as shell variables,
closing the template-injection vector.
- Add `persist-credentials: false` to the upstream `rolldown/rolldown`
and `vitejs/vite` checkouts in `actions/clone`.
- Drop `cache: 'pnpm'` from `actions/setup-node` in `release.yml` to
remove the cache-poisoning warning on the publish job.
- Replace `actions-cool/issues-helper` (repository has been disabled,
which broke the zizmor `impostor-commit` audit) with inline `gh` CLI
scripts in both `issue-close-require.yml` and `issue-labeled.yml`,
removing the third-party dependency.
After these changes, `zizmor --min-severity=high .` reports no findings.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
---------
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: MK (fengmk2) <fengmk2@gmail.com>
Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository. This helps us understand and resolve your issue much faster.
34
38
35
-
Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository. This helps us understand and resolve your issue much faster.
39
+
**A good reproduction should be:**
40
+
- **Minimal** – include only the code necessary to demonstrate the issue
41
+
- **Complete** – contain everything needed to run and observe the problem
42
+
- **Reproducible** – consistently show the issue with clear steps
36
43
37
-
**A good reproduction should be:**
38
-
- **Minimal** – include only the code necessary to demonstrate the issue
39
-
- **Complete** – contain everything needed to run and observe the problem
40
-
- **Reproducible** – consistently show the issue with clear steps
44
+
If no reproduction is provided, issues labeled \`needs reproduction\` will be closed after 3 days of inactivity.
41
45
42
-
If no reproduction is provided, issues labeled `needs reproduction` will be closed after 3 days of inactivity.
46
+
For more context on why this is required, please read: https://antfu.me/posts/why-reproductions-are-required"
43
47
44
-
For more context on why this is required, please read: https://antfu.me/posts/why-reproductions-are-required
0 commit comments