Skip to content

[DOCS] Simplify PR title syntax toward Conventional Commits#6

Draft
John McCall (lowlydba) wants to merge 5 commits into
mainfrom
lowlydba-simplify-pr-title-syntax
Draft

[DOCS] Simplify PR title syntax toward Conventional Commits#6
John McCall (lowlydba) wants to merge 5 commits into
mainfrom
lowlydba-simplify-pr-title-syntax

Conversation

@lowlydba

@lowlydba John McCall (lowlydba) commented Jul 2, 2026

Copy link
Copy Markdown
Contributor

What

Updates docs/pull-request-checks.md to move the PR title format from our bracket-style syntax ([TYPE], [TYPE](scope), [BREAKING][TYPE]) to Conventional Commits syntax: type: description, type(scope): description, and type(scope)!: description for breaking changes.

Existing type vocabulary mapped to Conventional Commits equivalents:

Old New
BUG fix
FEATURE feat
ENHANCEMENT feat
DOCS docs
REFACTOR refactor
TEST test
CHORE chore
PERFORMANCE perf
SECURITY fix (use (security) scope, e.g. fix(security): ...)
INVESTIGATION removed — exploratory/spike work shouldn't typically result in PRs
  • FEATURE and ENHANCEMENT both map to feat since Conventional Commits doesn't distinguish new functionality from improvements.
  • SECURITY folds into fix since security isn't a standard Conventional Commits type — the (security) scope keeps it discoverable.
  • Total goes from 10 distinct types to 7

Related to OvertureMaps/operating-procedures#95.

Important: follow-up required

This doc change alone does not enforce the new syntax. The actual PR title validation logic (the regex/check that runs in CI) lives in the OvertureMaps/workflows repo and will need a follow-up PR there to accept and enforce the new Conventional Commits format before this becomes the real, enforced standard.

John McCall (lowlydba) and others added 5 commits July 2, 2026 13:53
Move PR title format from bracket-style [TYPE]/[TYPE](scope)/[BREAKING][TYPE]
to Conventional Commits syntax: type: description, type(scope): description,
and type(scope)!: description for breaking changes. Map existing type
vocabulary to Conventional Commits equivalents (fix, feat, docs, refactor,
test, chore, perf, security, investigation), merging FEATURE/ENHANCEMENT
into feat.

Related to OvertureMaps/operating-procedures#95.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: John McCall <john@overturemaps.org>
Investigation/spike work shouldn't typically result in PRs, so drop it
from the Conventional Commits type table.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: John McCall <john@overturemaps.org>
security isn't a standard Conventional Commits type. Security fixes now
map to fix, with (security) as the suggested scope for discoverability.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: John McCall <john@overturemaps.org>
Keep the old bracket-style type names visible alongside their new
Conventional Commits equivalents for easier migration reference.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: John McCall <john@overturemaps.org>
The old-to-new type mapping is documented in the PR description instead;
keep the doc's table focused on the current type vocabulary.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: John McCall <john@overturemaps.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant