Skip to content

Commit 67e3f7b

Browse files
authored
Reduce repo settings we need to doc (#7397)
1 parent e35ba16 commit 67e3f7b

File tree

1 file changed

+3
-93
lines changed

1 file changed

+3
-93
lines changed

.github/repository-settings.md

Lines changed: 3 additions & 93 deletions
Original file line numberDiff line numberDiff line change
@@ -1,98 +1,8 @@
11
# Repository settings
22

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-
## General > Pull Requests
7-
8-
- Allow squash merging > Default to pull request title
9-
10-
- Allow auto-merge
11-
12-
## Actions > General
13-
14-
- Fork pull request workflows from outside collaborators:
15-
"Require approval for first-time contributors who are new to GitHub"
16-
17-
(To reduce friction for new contributors,
18-
as the default is "Require approval for first-time contributors")
19-
20-
- Workflow permissions
21-
- Default permissions granted to the `GITHUB_TOKEN` when running workflows in this repository:
22-
Read repository contents and packages permissions
23-
- Allow GitHub Actions to create and approve pull requests: UNCHECKED
24-
25-
## Rules > Rulesets
26-
27-
### `main` and release branches
28-
29-
- Targeted branches:
30-
- `main`
31-
- `release/*`
32-
- Branch rules
33-
- Restrict deletions: CHECKED
34-
- Require linear history: CHECKED
35-
- Require a pull request before merging: CHECKED
36-
- Required approvals: 1
37-
- Require review from Code Owners: CHECKED
38-
- Allowed merge methods: Squash
39-
- Require status checks to pass
40-
- Do not require status checks on creation: CHECKED
41-
- Status checks that are required
42-
- EasyCLA
43-
- `required-status-check`
44-
- `gradle-wrapper-validation`
45-
- Block force pushes: CHECKED
46-
- Require code scanning results: CHECKED
47-
- CodeQL
48-
- Security alerts: High or higher
49-
- Alerts: Errors
50-
51-
### `benchmarks` branch
52-
53-
- Targeted branches:
54-
- `benchmarks`
55-
- Branch rules
56-
- Restrict deletions: CHECKED
57-
- Require linear history: CHECKED
58-
- Block force pushes: CHECKED
59-
60-
### Old-style release branches
61-
62-
- Targeted branches:
63-
- `v0.*`
64-
- `v1.*`
65-
- Branch rules
66-
- Restrict creations: CHECKED
67-
- Restrict updates: CHECKED
68-
- Restrict deletions: CHECKED
69-
70-
### Restrict branch creation
71-
72-
- Targeted branches
73-
- Exclude:
74-
- `release/*`
75-
- `renovate/**/*`
76-
- `otelbot/**/*`
77-
- `revert-*/**/*` (these are created when using the GitHub UI to revert a PR)
78-
- Restrict creations: CHECKED
79-
80-
### Restrict updating tags
81-
82-
- Targeted tags
83-
- All tags
84-
- Restrict updates: CHECKED
85-
- Restrict deletions: CHECKED
86-
87-
## Branch protections
88-
89-
### `main`, `release/*`
90-
91-
- Restrict who can push to matching branches: CHECKED
92-
93-
## Code security and analysis
94-
95-
- Secret scanning: Enabled
3+
This document describes any changes that have been made to the
4+
settings in this repository outside the settings tracked in the
5+
private admin repo.
966

977
## Secrets and variables > Actions
988

0 commit comments

Comments
 (0)