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/
More on OIDC & Security Hardening
How does GitHub OIDC work, end to end?IntermediateWhat are the `sub` claim formats, and which do you put in an AWS trust policy?AdvancedConfigure OIDC to AWS: provider, role and workflow.AdvancedConfigure OIDC to Azure.AdvancedConfigure OIDC to GCP.AdvancedWhy pin actions to a full commit SHA, and how do you keep pins updated?Intermediate