openclaw/.github
Viz c778562379
ci(security): harden workflow steps against template-injection (#68431)
zizmor v1.24.1 reports 8 template-injection findings across three workflow files where GitHub Actions ${{ ... }} expressions are interpolated directly into shell run: blocks. Applies the canonical fix pattern: hoist every dynamic value into a step-level env: block and reference it as a shell variable ("${VAR}") from the script.

Files changed:

- control-ui-locale-refresh.yml: move matrix.locale into env as LOCALE (1 site)

- docker-release.yml: hoist steps.tags.outputs.{value,slim} plus the four needs.build-{amd64,arm64}.outputs.{digest,slim-digest} values into env for both manifest-creation steps (6 sites)

- openclaw-npm-release.yml: hoist steps.publish_tarball.outputs.path into env as PUBLISH_TARBALL_PATH in the Publish step (1 site)

Verified locally with zizmor --persona regular on the three files: 'No findings to report. Good job!'. pnpm format:check and pnpm lint pass.

Refs #68428. Complements #66884, which covers the remaining 12 sites in openclaw-cross-os-release-checks-reusable.yml.
2026-04-18 02:04:55 -04:00
..
actions ci: align pnpm pins and vitest config 2026-04-04 05:44:29 +01:00
codeql CI: scope CodeQL JavaScript analysis 2026-03-08 10:29:56 -07:00
instructions Centralize date/time formatting utilities (#11831) 2026-02-08 04:53:31 -08:00
ISSUE_TEMPLATE docs: add beta blocker contributor guidance (#55199) 2026-03-26 09:31:59 -05:00
pr-assets/compaction-checkpoints feat(gateway): add compaction checkpoints (#62146) 2026-04-06 17:27:43 -07:00
workflows ci(security): harden workflow steps against template-injection (#68431) 2026-04-18 02:04:55 -04:00
actionlint.yaml ci: register blacksmith macos runner labels 2026-04-16 19:58:08 +01:00
CODEOWNERS Security: add secops ownership for sensitive paths (#46440) 2026-03-14 14:16:14 -07:00
dependabot.yml Fix npm global install deprecation warnings (#28318) 2026-02-27 07:38:02 -08:00
labeler.yml feat: LM Studio Integration (#53248) 2026-04-13 15:22:44 +08:00
pull_request_template.md docs: trim PR template root-cause boilerplate 2026-04-03 18:08:55 -05:00