Signed-off-by: Bryan Frimin <bryan@frimin.fr>
This commit is contained in:
gearnode
2025-01-08 11:13:58 +01:00
parent 3d923033f2
commit 99d32ca49d
8 changed files with 70 additions and 68 deletions

View File

@@ -5,17 +5,17 @@ revision-version: 1
revision-date: "2024-01-07"
estimate-time: "15m"
frameworks:
- name: "soc2"
sections: ["CC1.4", "CC5.2", "CC8.1"]
- name: "soc2"
sections: ["CC1.4", "CC5.2", "CC8.1"]
---
## 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.
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
@@ -23,8 +23,7 @@ production and maintains adherence to coding standards.
1. Open your GitHub repository and go to settings.
2. In "Branche"s, click "Add Rule".
3. Enter the branch name (e.g. "main") in the branch name pattern
field.
3. Enter the branch name (e.g. "main") in the branch name pattern field.
4. Enable: "Require a pull request before merging"
5. Click Create or Save to apply the rule