Interview Prep/GitHub Actions/OIDC & Security Hardening

What do `actionlint` and `zizmor` catch?

IntermediateConceptOIDC & Security Hardening
Answer

actionlint is a static checker for workflow syntax and semantics: invalid keys, wrong context availability, type errors in expressions, shellcheck on run: scripts, and some injection patterns. zizmor is a security auditor: template injection, pull_request_target misuse, unpinned actions, excessive permissions, credential persistence from checkout, and dangerous workflow_run artifact use. Run both in CI on changes to .github/**:

actionlint -color
zizmor .github/workflows/
All GitHub Actions questions Roadmap: GitHub Actions

More on OIDC & Security Hardening