iwillig/Git Hygiene

Lint git commit messages for grammar (LanguageTool) and structure quality (LLM)

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
github-tokenGitHub token for posting PR comments and fetching commitsyes${{ github.token }}
llm-modelLLM model name as known to the llm library. For Ollama (local): e.g. qwen2.5:0.5b, tinyllama, phi3:mini. For remote providers: e.g. gpt-4o-mini (requires llm-api-key). Run 'llm models' to see available models. noqwen2.5:0.5b
llm-api-keyAPI key for a remote LLM provider (e.g. OpenAI). Not required when use-local-model is true.no""
use-local-modelRun the LLM locally on the GitHub Actions runner using Ollama. No API key needed. Set llm-model to an Ollama model name. notrue
enable-grammarEnable the LanguageTool grammar checker. Disabled by default.nofalse
languagetool-urlLanguageTool API base URLnohttps://api.languagetool.org/v2
languagetool-languageLanguage code for LanguageTool (e.g. en-US, en-GB, de-DE)noen-US
ignore-patternsNewline-separated list of regex patterns for commit messages to skip (e.g. merge commits)no^Merge\s ^Revert\s
custom-wordsNewline-separated list of words to add to the spell-check dictionary. Matches where the flagged text is one of these words (case-insensitive) are suppressed. A built-in list of common dev/tool names is always included. no""
fail-on-errorWhether to fail the check (exit 1) when issues are foundnotrue

no outputs