Skip to content

feat: enforce PR title convention and description requirements in CI#240

Open
Xoulomon wants to merge 1 commit intoMindBlockLabs:mainfrom
Xoulomon:feature/add-pr-validation-ci
Open

feat: enforce PR title convention and description requirements in CI#240
Xoulomon wants to merge 1 commit intoMindBlockLabs:mainfrom
Xoulomon:feature/add-pr-validation-ci

Conversation

@Xoulomon
Copy link

This PR implements automated PR quality validation in the CI/CD pipeline to ensure all pull requests meet minimum quality standards which closes #234

Changes Made

  • Added validate-pr job to .github/workflows/ci.yml that checks:
    • PR title follows Conventional Commits format with minimum 10 characters
    • PR description contains at least 15 words
    • Branch name follows feature/*, fix/*, or docs/* convention
  • Updated CONTRIBUTING.md with comprehensive PR quality guidelines
  • Added PR_VALIDATION_GUIDE.md with testing instructions and examples

Testing

The validation logic has been tested locally. A separate test PR will be created to verify the CI integration works correctly.

- Add validate-pr job to check PR title format (Conventional Commits)
- Validate PR description has minimum 15 words
- Validate branch naming follows feature/fix/docs convention
- Update CONTRIBUTING.md with PR quality standards
- Add PR validation testing guide
@Xoulomon
Copy link
Author

Hey @phertyameen , Just created a PR, do approval workflow ASAP , so if everything checks and PR merged , i can create another PR to test CI checks i implemented.

Thanks

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 PR Title Convention & Description Requirements in CI/CD Pipeline

1 participant

Comments