Skip to Content
🏆 1st Place on Product Hunt! Check it out →
DocumentationRulesPull Requests

Pull Request Rules

Pull requests (PRs) are a critical checkpoint for maintaining code quality, enforcing peer review, and ensuring traceability across changes. These rules enforce standards around commit messages, reviewer requirements, merge conditions, and compliance with internal or external audit frameworks like SOC-2.

IDTitleDescriptionSignificanceSeverity
P1PR Description RequiredPull requests must include a clear and detailed description explaining the changesSOC-2 (Audit Readiness)high
P2Review Required Before MergePull requests must be reviewed and approved before mergingSOC-2 (Audit Readiness)high
P3Categorised Commit MessagesCommit messages must follow conventional commits format (feat/fix etc.)Best practisemedium
P4Minimum Reviewers RequiredPull requests must have a minimum number of assigned reviewersSDLC Compliancehigh
P5Required Checks Must PassAll required status checks must pass before mergingSDLC Compliancecritical
P6Meaningful Commit MessagesCommit messages must be descriptive and explain the changes madeBest practisemedium
P7PR must have descriptionPull requests must have a description.Best practisemedium
P8Require at least one reviewerPull requests must have at least one reviewer.SDLC Compliancemedium
P9No Self-Approval AllowedPRs cannot be approved by the authorSOC-2 (Audit Readiness)critical
P10Assigned Reviewer RequiredPRs must have at least one reviewer explicitly assignedSOC-2 (Audit Readiness)medium
P11PR Must Reference IssuePRs must be linked to an existing issue or ticketSOC-2 (Audit Readiness)medium
P12No Direct Merge to MainPull requests cannot merge directly to the main branch without prior approvalSOC-2 (Audit Readiness)high

💡 Want to recommend a rule? Contact us at support@warestack.com — we’d love to hear from you.

Last updated on

Warestack

About

Our story

© 2024, Warestack