Skip to content

ci: name branches after the commit type - #24

Merged
ilien-dev merged 1 commit into
mainfrom
ci/branch-type-prefixes
Nov 19, 2026
Merged

ilien-dev merged 1 commit into
mainfrom
ci/branch-type-prefixes

Conversation

@ilien-dev

Copy link
Copy Markdown
Owner

What

Branches are named after the Conventional Commit type of the change (feat/, fix/, docs/...) instead of feature/, keeping the same 1 to 4 lowercase words.

Why

All of the maintainer's repositories now use the short commit types as the branch prefix, and the branch says what kind of change it holds, like the title.

How

check-pr.js builds the branch regex from the 11 types pr-title.yml accepts. CONTRIBUTING.md, the PR template, both copies of the uncontributing skill and CLAUDE.md/AGENTS.md show the new form.

Evidence

No code changes. The new regex accepts ci/branch-type-prefixes and feat/x and rejects feature/x, fix/A and five-word names; check-pr.js passes on this description.

Checklist

  • This PR does one thing, and nothing else is mixed in
  • I searched open PRs and issues and nobody is already doing this
  • cargo test --workspace and cargo clippy --workspace --all-targets -- -D warnings pass
  • New interface text is in both EN and ES in crates/anzu/src/i18n.rs, or there is none

@ilien-dev
ilien-dev merged commit 071076b into main Nov 19, 2026
3 checks passed
@ilien-dev
ilien-dev deleted the ci/branch-type-prefixes branch November 19, 2026 00:47
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