1.0 KiB
1.0 KiB
id, category, revision-version, revision-date, estimate-time, frameworks
| id | category | revision-version | revision-date | estimate-time | frameworks | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| APP-SRC-001 | application-security/source-code | 1 | 2024-01-07 | 15m |
|
Purpose
Requiring pull requests and code reviews ensures higher code quality and security by allowing multiple team members to catch bugs, inefficiencies, and potential vulnerabilities before code is merged. It also promotes collaboration, knowledge sharing, and accountability within the team. This process helps prevent issues in production and maintains adherence to coding standards.
Implementation
Github
- Open your GitHub repository and go to settings.
- In "Branche"s, click "Add Rule".
- Enter the branch name (e.g. "main") in the branch name pattern field.
- Enable: "Require a pull request before merging"
- Click Create or Save to apply the rule
Evidence
- Screenshot of branch protection rules configuration
- Documentation of PR review process
- Sample PR showing enforced requirements