Skip to content

Commit

Permalink
Update repo settings doc (#7439)
Browse files Browse the repository at this point in the history
No changes to actual settings in this repo, only updating the doc after
changes were made to community repo doc.
  • Loading branch information
trask committed Dec 16, 2022
1 parent a2b10c4 commit dd7931a
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions .github/repository-settings.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
# Repository settings

Repository settings in addition to what's documented already at
<https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md>.
This document describes any changes that have been made to the
settings for this repository beyond the [OpenTelemetry default repository
settings](https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md#repository-settings).

## General > Pull Requests

* Allow squash merging > Default to pull request title and description

* Allow auto-merge

* Automatically delete head branches: CHECKED

(So that bot PR branches will be deleted)

## Actions > General

* Fork pull request workflows from outside collaborators:
Expand All @@ -36,11 +33,11 @@ Repository settings in addition to what's documented already at

### `release/*`

Same settings as above for `main`, except:
Same settings as above for [`main`](#main).

* Restrict pushes that create matching branches: UNCHECKED
### `opentelemetrybot/**/**`

(So that opentelemetrybot can create release branches)
Same settings as for [`dependabot/**/**`](https://github.com/open-telemetry/community/blob/main/docs/how-to-configure-new-repository.md#branch-protection-rule-dependabot)

### `gh-pages`

Expand All @@ -49,27 +46,3 @@ Same settings as above for `main`, except:
(This branch is currently only used for directly pushing benchmarking results from the
[Nightly overhead benchmark](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/nightly-benchmark-overhead.yml)
job)

### `dependabot/**/**` and `opentelemetrybot/*`

#### Protect matching branches

* Everything UNCHECKED

(These are temporary branches for submitting PRs to `main` and `release/*` branches)

#### Rules applied to everyone including administrators

* Allow force pushes > Everyone

(So that dependabot PRs can be rebased, which requires a force push)

* Allow deletions: CHECKED

(So that these branches can be deleted after corresponding PR is merged)

### `**/**`

* Status checks that are required:

EasyCLA

0 comments on commit dd7931a

Please sign in to comment.