overtrue/Conventional Pull Request Title

Automatically suggests or updates PR titles to follow Conventional Commits standard using AI

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit May 7, 2026
License
MIT

Pinned Snippet

workflow.ymlSHA-pinned
uses: overtrue/conventional-pr-title@1680d43dcea81e9a69258402126ee2d26adb9c2c # v1.0.0

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
github-tokenGitHub token for API accessyes${{ github.token }}
modelAI model to use (e.g., openai/gpt-4o-mini, anthropic/claude-3-5-sonnet-20241022, google/gemini-1.5-flash) or just provider name (e.g., openai, anthropic)yesopenai
modeOperation mode: 'auto' to automatically update title, 'suggest' to add comment with suggestionsnosuggest
allowed-typesComma-separated list of allowed conventional commit typesnofeat,fix,docs,style,refactor,test,chore,perf,ci,build,revert
require-scopeWhether to require a scope in the commit messagenofalse
max-lengthMaximum allowed length for PR titleno72
min-description-lengthMinimum length for the description partno3
custom-promptCustom prompt template for AI title generationno""
include-scopeWhether to prefer including scope in generated titlesnotrue
skip-if-conventionalSkip processing if title already follows conventional commitsnotrue
comment-templateCustom template for suggestion commentsno""
debugEnable debug logging for troubleshootingnofalse
match-languageRespond in the same language as the original PR titlenotrue
auto-commentAdd a comment when auto-updating PR title to notify the changenotrue
namedescription
is-conventionalWhether the PR title follows conventional commits format
suggested-titlesJSON array of AI-suggested conventional commits titles
original-titleOriginal PR title before processing
action-takenAction taken: 'updated', 'commented', 'skipped', or 'error'
error-messageError message if action failed