Summary
Add actionlint to validate GitHub Actions workflow semantics.
Rationale
zizmor is planned for GitHub Actions security analysis. actionlint complements it by checking workflow syntax and GitHub Actions-specific semantics. Do not add yamllint for this purpose.
Affected areas
.github/workflows/
- The repository pre-commit or CI configuration that runs workflow validation
Required changes
- Add
actionlint to the repository tooling.
- Run
actionlint for GitHub Actions workflows.
- Keep the workflow validation focused on GitHub Actions semantics.
- Keep
zizmor as a separate security-analysis tool.
Acceptance criteria
- The repository runs
actionlint against .github/workflows/.
- A workflow with an
actionlint-detectable error fails the relevant local or CI check.
- The configuration does not introduce
yamllint as the GitHub Actions workflow linter.
- The tooling documentation or configuration states how contributors run the check.
Requested by: @fizyk
Backlinks:
Copied from fizyk/pyramid_fullauth#953
Summary
Add
actionlintto validate GitHub Actions workflow semantics.Rationale
zizmoris planned for GitHub Actions security analysis.actionlintcomplements it by checking workflow syntax and GitHub Actions-specific semantics. Do not addyamllintfor this purpose.Affected areas
.github/workflows/Required changes
actionlintto the repository tooling.actionlintfor GitHub Actions workflows.zizmoras a separate security-analysis tool.Acceptance criteria
actionlintagainst.github/workflows/.actionlint-detectable error fails the relevant local or CI check.yamllintas the GitHub Actions workflow linter.Requested by: @fizyk
Backlinks:
Copied from fizyk/pyramid_fullauth#953