Action Inputs Reference
Inputs
Section titled “Inputs”| Input | Required | Default | Description |
|---|---|---|---|
tool | No | none | Run only one tool (for example: ruff, biome, clippy). |
auto_commit | No | "false" | When "true", passes --auto-commit. |
no_commit | No | "false" | When "true", passes --no-commit. |
github_token | No | ${{ github.token }} | Token exposed to janitor for authenticated GitHub operations. |
skip_install | No | "false" | When "true", skips uv + janitor install and uses janitor from PATH. |
Validation rules
Section titled “Validation rules”auto_commitandno_commitcannot both be"true".- If neither is
"true", CLI default commit behavior is used.
Internal action flow
Section titled “Internal action flow”- Install
uv(unlessskip_install == "true"). - Install
janitor-shwithuv tool install janitor-sh --force. - Configure git identity as
janitor-sh[bot]. - Build CLI argument list from action inputs.
- Run
janitor.