|
1 | 1 | # Repository settings |
2 | 2 |
|
3 | 3 | This document describes any changes that have been made to the |
4 | | -settings for this repository beyond the [OpenTelemetry default repository |
5 | | -settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md#repository-settings). |
6 | | - |
7 | | -## General > Pull Requests |
8 | | - |
9 | | -- Allow squash merging > Default to pull request title |
10 | | - |
11 | | -- Allow auto-merge |
12 | | - |
13 | | -## Actions > General |
14 | | - |
15 | | -- Fork pull request workflows from outside collaborators: |
16 | | - "Require approval for first-time contributors who are new to GitHub" |
17 | | - |
18 | | - (To reduce friction for new contributors, |
19 | | - as the default is "Require approval for first-time contributors") |
20 | | - |
21 | | -- Workflow permissions |
22 | | - - Default permissions granted to the `GITHUB_TOKEN` when running workflows in this repository: |
23 | | - Read repository contents and packages permissions |
24 | | - - Allow GitHub Actions to create and approve pull requests: UNCHECKED |
25 | | - |
26 | | -## Rules > Rulesets |
27 | | - |
28 | | -### `main` and release branches |
29 | | - |
30 | | -- Targeted branches: |
31 | | - - `main` |
32 | | - - `release/*` |
33 | | -- Branch rules |
34 | | - - Restrict deletions: 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 | | -> [!NOTE] |
52 | | -> This repository can't "require linear history" because there is an old merge commit on `main` |
53 | | -> (and so also on the release branches). |
54 | | -
|
55 | | -### `cloudfoundry` branch |
56 | | - |
57 | | -- Targeted branches: |
58 | | - - `cloudfoundry` |
59 | | -- Branch rules |
60 | | - - Restrict deletions: CHECKED |
61 | | - - Require linear history: CHECKED |
62 | | - - Require a pull request before merging: CHECKED |
63 | | - - Required approvals: 1 |
64 | | - - Require review from Code Owners: CHECKED |
65 | | - - Allowed merge methods: Squash |
66 | | - - Require status checks to pass |
67 | | - - EasyCLA |
68 | | - - Block force pushes: CHECKED |
69 | | - |
70 | | -### `gh-pages` branch |
71 | | - |
72 | | -- Targeted branches: |
73 | | - - `gh-pages` |
74 | | -- Branch rules |
75 | | - - Restrict deletions: CHECKED |
76 | | - - Require linear history: CHECKED |
77 | | - - Block force pushes: CHECKED |
78 | | - |
79 | | -### Old-style release branches |
80 | | - |
81 | | -- Targeted branches: |
82 | | - - `v0.*` |
83 | | - - `v1.*` |
84 | | -- Branch rules |
85 | | - - Restrict creations: CHECKED |
86 | | - - Restrict updates: CHECKED |
87 | | - - Restrict deletions: CHECKED |
88 | | - |
89 | | -### Restrict branch creation |
90 | | - |
91 | | -- Targeted branches |
92 | | - - Exclude: |
93 | | - - `release/*` |
94 | | - - `renovate/**/*` |
95 | | - - `otelbot/**/*` |
96 | | - - `revert-*/**/*` (these are created when using the GitHub UI to revert a PR) |
97 | | -- Restrict creations: CHECKED |
98 | | - |
99 | | -### Restrict updating tags |
100 | | - |
101 | | -- Targeted tags |
102 | | - - All tags |
103 | | -- Restrict updates: CHECKED |
104 | | -- Restrict deletions: CHECKED |
105 | | - |
106 | | -## Branch protections |
107 | | - |
108 | | -### `main`, `release/*`, `cloudfoundry` |
109 | | - |
110 | | -- Restrict who can push to matching branches: CHECKED |
111 | | - |
112 | | -## Code security and analysis |
113 | | - |
114 | | -- Secret scanning: Enabled |
| 4 | +settings in this repository outside the settings tracked in the |
| 5 | +private admin repo. |
115 | 6 |
|
116 | 7 | ## Secrets and variables > Actions |
117 | 8 |
|
|
0 commit comments