Skip to main content
The conventions feature checks each pull request and issue against the rules in conventions.rules. It runs on pull request and issue events, and is enabled when there is at least one rule.

Rules

Each rule has a preset, a when condition group, or both; a rule with neither is rejected. When both are set, both must pass, and both are always checked so the finding explains everything that needs fixing. A failing rule becomes a finding with the rule id conventions.<key>, for example conventions.title. The feature only records findings; see Reporting for where they appear.

Presets

semanticTitle, gitmojis and semanticEmoji accept exactly the titles v1 accepted. With contexts, those three also require, as v1 did, one line of the title to hold an opening parenthesis, then one of the contexts, then ): somewhere after it. The context is matched ignoring case and need not fill the parentheses, and the parentheses need not come before the title’s first colon: feat: add login (auth): passes with the context auth, and so does feat(web-auth): add login. conventions.comment.header and conventions.comment.footer are accepted, and smartcloud migrate carries v1’s commentHeader and commentFooter into them. The current reporter does not add them to its comment yet.
Last modified on September 26, 2026