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
Harden Samples CI workflow for zizmor and add workflow linting (#95)
Follow-up to #80, which added the zizmor pre-commit hook but excluded
run-samples.yml (the repo's only substantive workflow), making the hook
effectively a no-op. This fixes the underlying findings and removes the
exclude so zizmor actually lints the workflow, locally and in CI.
run-samples.yml:
- Add top-level and grant each job only
- Pin all actions to full commit SHAs with version comments (unpinned-uses)
- Set on both checkout steps (artipacked)
- Route github.event.inputs.run_mode, matrix.shard/splits and runner.temp
through step-level env instead of inline interpolation (template-injection)
- Quote and in the MSSQL step (shellcheck)
.pre-commit-config.yaml:
- Remove the run-samples.yml exclude on the zizmor hook
lint_workflows.yml:
- Add a dedicated workflow-linting job (actionlint + zizmor) mirroring
localstack-pro, for CI parity and shellcheck coverage on run: blocks
0 commit comments