Skip to content

Commit 73ff709

Browse files
authored
Update repo settings doc (#13248)
1 parent c03d527 commit 73ff709

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/repository-settings.md

+18-6
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
3030
- Targeted branches:
3131
- `main`
3232
- `release/*`
33-
- `v0.*`
34-
- `v1.*`
3533
- Branch rules
3634
- Restrict deletions: CHECKED
3735
- Require linear history: CHECKED
@@ -44,6 +42,10 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
4442
- `required-status-check`
4543
- `gradle-wrapper-validation`
4644
- Block force pushes: CHECKED
45+
- Require code scanning results: CHECKED
46+
- CodeQL
47+
- Security alerts: High or higher
48+
- Alerts: Errors
4749

4850
### `cloudfoundry` branch
4951

@@ -69,13 +71,24 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
6971
- Require linear history: CHECKED
7072
- Block force pushes: CHECKED
7173

74+
### Old-style release branches
75+
76+
- Targeted branches:
77+
- `v0.*`
78+
- `v1.*`
79+
- Branch rules
80+
- Restrict creations: CHECKED
81+
- Restrict updates: CHECKED
82+
- Restrict deletions: CHECKED
83+
7284
### Restrict branch creation
7385

7486
- Targeted branches
7587
- Exclude:
7688
- `release/*`
77-
- `renovate/**/**`
78-
- `opentelemetrybot/**/**`
89+
- `renovate/**/*`
90+
- `opentelemetrybot/**/*`
91+
- `revert-*/**/*` (these are created when using the GitHub UI to revert a PR)
7992
- Restrict creations: CHECKED
8093

8194
### Restrict updating tags
@@ -87,10 +100,9 @@ settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-conf
87100

88101
## Branch protections
89102

90-
### `main`, `release/*`, `v0.*`, `v1.*`, `cloudfoundry`
103+
### `main`, `release/*`, `cloudfoundry`
91104

92105
- Restrict who can push to matching branches: CHECKED
93-
- Restrict pushes that create matching branches: CHECKED
94106

95107
## Code security and analysis
96108

0 commit comments

Comments
 (0)