Skip to content

Commit ec67f09

Browse files
authored
Update repo settings (#517)
No need to duplicate everything here, since essentially same repo settings used as in instrumentation repo.
1 parent a577c01 commit ec67f09

File tree

1 file changed

+2
-58
lines changed

1 file changed

+2
-58
lines changed

docs/repository-settings.md

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -1,60 +1,4 @@
11
# Repository settings
22

3-
(In addition
4-
to https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md)
5-
6-
## General > Pull Requests
7-
8-
* Allow squash merging > Default to pull request title and description
9-
10-
* Automatically delete head branches: CHECKED
11-
12-
So that bot PR branches will be deleted.
13-
14-
## Actions > General
15-
16-
* Fork pull request workflows from outside collaborators:
17-
"Require approval for first-time contributors who are new to GitHub"
18-
19-
To reduce friction for new contributors
20-
(the default is "Require approval for first-time contributors").
21-
22-
## Branch protections
23-
24-
(In addition
25-
to https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md)
26-
27-
### `main` and `release/*`
28-
29-
* Require branches to be up to date before merging: UNCHECKED
30-
31-
PR jobs take too long, and leaving this unchecked has not been a significant problem.
32-
33-
* Status checks that are required:
34-
35-
* EasyCLA
36-
* required-status-check
37-
38-
### `dependabot/**/*`
39-
40-
* Require status checks to pass before merging: unchecked
41-
42-
So that dependabot can rebase its PR branches
43-
44-
* Allow force pushes > Everyone
45-
46-
So that dependabot can rebase its PR branches
47-
48-
* Allow deletions: CHECKED
49-
50-
So that dependabot PR branches can be deleted
51-
52-
### `**/**`
53-
54-
* Status checks that are required:
55-
56-
EasyCLA
57-
58-
* Allow deletions: CHECKED
59-
60-
So that automation PR branches can be deleted
3+
Same as [opentelemetry-java-instrumentation repository settings](https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/docs/contributing/repository-settings.md#repository-settings),
4+
except that the branch protection rules for `v*` and `gh-pages` are not needed in this repository.

0 commit comments

Comments
 (0)