Skip to content

Action Inputs Reference

InputRequiredDefaultDescription
toolNononeRun only one tool (for example: ruff, biome, clippy).
auto_commitNo"false"When "true", passes --auto-commit.
no_commitNo"false"When "true", passes --no-commit.
github_tokenNo${{ github.token }}Token exposed to janitor for authenticated GitHub operations.
skip_installNo"false"When "true", skips uv + janitor install and uses janitor from PATH.
  • auto_commit and no_commit cannot both be "true".
  • If neither is "true", CLI default commit behavior is used.
  1. Install uv (unless skip_install == "true").
  2. Install janitor-sh with uv tool install janitor-sh --force.
  3. Configure git identity as janitor-sh[bot].
  4. Build CLI argument list from action inputs.
  5. Run janitor.