Skip to content

Commit b6107f0

Browse files
authored
Add repository settings (#5056)
1 parent 76f7a96 commit b6107f0

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

.github/repository-settings.md

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Repository settings
2+
3+
Repository settings in addition to what's documented already at
4+
<https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md>.
5+
6+
## Actions > General
7+
8+
* Fork pull request workflows from outside collaborators:
9+
"Require approval for first-time contributors who are new to GitHub"
10+
11+
(To reduce friction for new contributors,
12+
as the default is "Require approval for first-time contributors")
13+
14+
## Branch protections
15+
16+
### `main`
17+
18+
* Require branches to be up to date before merging: UNCHECKED
19+
20+
(PR jobs take too long, and leaving this unchecked has not been a significant problem)
21+
22+
* Status checks that are required:
23+
24+
* EasyCLA
25+
* required-status-check
26+
27+
### `release/*`
28+
29+
Same settings as above for `main`, except:
30+
31+
* Restrict pushes that create matching branches: UNCHECKED
32+
33+
(So that opentelemetrybot can create release branches)
34+
35+
### `dependabot/**/**` and `opentelemetrybot/*`
36+
37+
* Require status checks to pass before merging: UNCHECKED
38+
39+
(So that dependabot PRs can be rebased)
40+
41+
* Restrict who can push to matching branches: UNCHECKED
42+
43+
(So that bots can create PR branches in this repository)
44+
45+
* Allow force pushes > Everyone
46+
47+
(So that dependabot PRs can be rebased)
48+
49+
* Allow deletions: CHECKED
50+
51+
(So that bot PR branches can be deleted)

0 commit comments

Comments
 (0)