fleetlint Policy for a fleet of repositories
v0.7
Getting started

ci/workflow-lint

Actions workflows are linted

Severityinfo
Tiers1
Stacksany
Scoperoot
Kindoutcome
Sourcelibrary v0.4.0
Selected byfleetlint-recommended@v0.4.0

Requirement

Repositories with GitHub, Gitea or Forgejo workflows run actionlint or zizmor over them in a hook, the task runner or CI.

Why

Workflow mistakes (bad expressions, unquoted inputs, risky triggers) only surface when the workflow runs; the linters find them on every change.

Applies when

workflows().exists(w, ci_kind(w) != "gitlab")

Fix

Add the zizmor or actionlint pre-commit hook, or a lint step in the check workflow.

Agent instruction: Add the zizmor pre-commit hook (zizmorcore/zizmor-pre-commit) or actionlint to .pre-commit-config.yaml and fix what it reports in .github/workflows.

Sources


Generated by fleetlint docs from catalog v0.4.0.