Skip to content

Commit 497a7d1

Browse files
committed
Move from branch protections to rule sets
1 parent a9217ee commit 497a7d1

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/repository-settings.md

+19
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,25 @@ for [`dependabot/**/**`](https://github.com/open-telemetry/community/blob/main/d
6363
[Nightly overhead benchmark](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/nightly-benchmark-overhead.yml)
6464
job)
6565

66+
## Rules > Rulesets
67+
68+
### `main`
69+
70+
- Targeted branches: `main`
71+
- Branch rules
72+
- Restrict creations: CHECKED
73+
- Restrict updates: CHECKED
74+
- Restrict deletions: CHECKED
75+
- Require linear history: CHECKED
76+
- Require a pull request before merging: CHECKED
77+
- Required approvals: 1
78+
- Require review from Code Owners: CHECKED
79+
- Allowed merge methods: Squash
80+
- Require status checks to pass
81+
- EasyCLA
82+
- `required-status-check`
83+
- Block force pushes: CHECKED
84+
6685
## Code security and analysis
6786

6887
- Secret scanning: Enabled

0 commit comments

Comments
 (0)