local/tools
dev / Native app / v1.0.4

GitHub Actions Linter

Lint GitHub Actions workflows and composite actions for errors and security issues (script injection, permissions, unpinned actions) with a fix per finding.

Install

  • install
    irm https://raw.githubusercontent.com/chayprabs/localtools/main/github-actions-linter/install.ps1 | iex
  • update
    localtools-github-actions-linter update
  • remove
    localtools-github-actions-linter uninstall

Opens at http://127.0.0.1:47113 in your browser. Run localtools-github-actions-linter --help for the command line. Set LOCALTOOLS_NO_OPEN=1 to install without opening it.

Direct download

PlatformFileSize
Linux ARM64github-actions-linter-1.0.4-linux-arm64.zip12.7 MB
Linux x64github-actions-linter-1.0.4-linux-x64.zip13.4 MB
macOS Apple Silicongithub-actions-linter-1.0.4-macos-arm64.zip12.4 MB
macOS Intelgithub-actions-linter-1.0.4-macos-x64.zip13.2 MB
Windows x64github-actions-linter-1.0.4-windows-x64.zip13.0 MB

SHA-256 checksums are in the release notes; the install scripts verify them for you.

See it

How to use

  1. Open GitHub Actions Linter (it starts at http://127.0.0.1:47113).
  2. Paste a workflow or action.yml, drop files or a .zip, or choose a repository folder: .github/workflows/* and action.yml files are picked up.
  3. Press Lint workflows: actionlint correctness checks and offline zizmor security audits give one list with file:line:column, severity, explanation and a fix snippet.
  4. Ignore rules you accept (field or per-finding button), then download JSON, SARIF or Markdown.
  5. In CI: localtools-github-actions-linter check . --format sarif --fail-on warn > actions.sarif (exit 2 when warnings or errors remain).

FAQ

Does it contact GitHub or upload my workflow?

No. Both engines run locally. zizmor always runs with --offline --no-config and without your GitHub credentials, so online audits (known-vulnerable-actions, impostor-commit, ref-confusion, stale-action-refs) are not included.

What checks are included?

actionlint 1.7.12 checks syntax, expressions and contexts, needs, matrix, runner labels and popular-action inputs; zizmor 1.31.1 adds template injection, unpinned actions, excessive permissions, dangerous triggers, credential persistence, cache poisoning and more. Composite action.yml files are audited by zizmor and checked against actionlint's action schema.

How do I silence a finding?

Use --ignore rule-id (or the UI field and per-finding button), --ignore-regex for actionlint messages, or a # zizmor: ignore[rule] comment on the reported line.

Can it fail CI or feed GitHub code scanning?

Yes. --fail-on error|warn|info exits with code 2 when such findings exist, and --format sarif writes SARIF 2.1.0.

Does it fix or pin actions for me?

No. Every finding has a fix snippet to apply by hand. Offline it cannot look up commit SHAs, so it tells you where to find the SHA and never invents one.