openclaw/.github/workflows
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
..
auto-response.yml CI: make bad-barnacle bypass PR auto-response 2026-04-04 12:28:03 -05:00
ci.yml ci: retry failed custom checkouts 2026-04-17 07:20:51 +01:00
codeql.yml CI: add daily schedule to CodeQL workflow (#67645) 2026-04-16 21:27:45 +08:00
control-ui-locale-refresh.yml ci(security): harden workflow steps against template-injection (#68431) 2026-04-18 02:04:55 -04:00
docker-release.yml ci(security): harden workflow steps against template-injection (#68431) 2026-04-18 02:04:55 -04:00
docs-sync-publish.yml CI: pin Node 22 runners to 22.18.0 2026-04-15 20:33:12 -04:00
docs-translate-trigger-release.yml feat(i18n): add Ukrainian docs and control UI locale 2026-04-05 18:31:02 +01:00
install-smoke.yml CI: pin Docker-related GitHub Actions (#67632) 2026-04-16 19:23:03 +08:00
labeler.yml docs: add beta blocker contributor guidance (#55199) 2026-03-26 09:31:59 -05:00
macos-release.yml ci: align pnpm pins and vitest config 2026-04-04 05:44:29 +01:00
openclaw-cross-os-release-checks-reusable.yml CI: expand native release validation coverage (#67144) 2026-04-16 19:58:19 +02:00
openclaw-live-and-e2e-checks-reusable.yml CI: stabilize live release lanes (#67838) 2026-04-18 03:18:12 +02:00
openclaw-npm-release.yml ci(security): harden workflow steps against template-injection (#68431) 2026-04-18 02:04:55 -04:00
openclaw-release-checks.yml CI: stabilize live release lanes (#67838) 2026-04-18 03:18:12 +02:00
openclaw-scheduled-live-checks.yml CI: stabilize live release lanes (#67838) 2026-04-18 03:18:12 +02:00
parity-gate.yml CI: cap parity gate concurrency 2026-04-16 02:27:44 -04:00
plugin-clawhub-release.yml ci: align pnpm pins and vitest config 2026-04-04 05:44:29 +01:00
plugin-npm-release.yml ci: align pnpm pins and vitest config 2026-04-04 05:44:29 +01:00
sandbox-common-smoke.yml CI: pin Docker-related GitHub Actions (#67632) 2026-04-16 19:23:03 +08:00
stale.yml Add bad-barnacle label to prevent barnacle closures. (#51945) 2026-03-21 19:27:18 -05:00
workflow-sanity.yml CI: add explicit permissions to all workflow jobs (fixes code-scanning #40-#57) (#67612) 2026-04-16 18:18:35 +08:00