lint_repo
Lint GitHub Actions workflows and action manifests against 21 rules to catch missing timeouts, dead versions, retired runners, and deprecated commands. Pass a repo or local directory.
Instructions
Static lint of GitHub Actions workflows and action manifests only (no run history, fast): 21 rules covering missing timeouts, no concurrency cancellation, dead action versions, retired runner labels, deprecated workflow commands, unguarded crons, and more. Pass repo to lint any GitHub repository via the API (no clone needed), or dir for a local checkout (offline). Defaults to the current directory.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | No | Local repository directory to lint (default ".") | |
| repo | No | Repository as owner/name to lint remotely (mutually exclusive with dir) |