Skip to content

Comments

feat: enforced the branch naming and PR Title convention#54

Merged
phertyameen merged 2 commits intobridgelet-org:mainfrom
Kaylahray:feat/enforce-branch-naming-conventions
Feb 20, 2026
Merged

feat: enforced the branch naming and PR Title convention#54
phertyameen merged 2 commits intobridgelet-org:mainfrom
Kaylahray:feat/enforce-branch-naming-conventions

Conversation

@Kaylahray
Copy link
Contributor

  • Implemented PR validation workflow at .github/workflows/pr-validation.yml. closes Enforce Branch Naming and PR Title Conventions #44

  • Added branch name enforcement for:

    • fix/issue-NUMBER-brief-description
    • feature/issue-NUMBER-brief-description
    • test/issue-NUMBER-brief-description
    • chore/issue-NUMBER-brief-description
    • docs/issue-NUMBER-brief-description
  • Added PR title enforcement using:

    • Fix: Brief description (#NUMBER)
    • Feature: Brief description (#NUMBER)
    • Test: Brief description (#NUMBER)
    • Chore: Brief description (#NUMBER)
    • Docs: Brief description (#NUMBER)
  • Included exemptions for main and develop branch names.

  • Configured rollout mode as non-blocking (warning-only) for the first week, then blocking after the enforcement date.

  • Added clear error/warning messages to help contributors fix invalid branch names and PR titles.

  • Updated documentation in CONTRIBUTING.md with:

    • Naming requirements
    • How to rename branches
    • How to update PR titles
  • Added sample regex self-checks in the workflow for valid/invalid examples.

  • Status: Completed and ready for review.

Copy link
Contributor

@phertyameen phertyameen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool. Tesying after merge. Stay tuned...

@phertyameen phertyameen merged commit d85b93a into bridgelet-org:main Feb 20, 2026
2 checks passed
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.

Enforce Branch Naming and PR Title Conventions

2 participants