Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add note to Renovate configuration #2460

Merged
merged 3 commits into from
Dec 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions docs/how-to-configure-new-repository.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,27 @@ Same as for [`dependabot/**/**`](#branch-protection-rule-dependabot) above.
This branch protection rule is not set up automatically, but can be added for any
repositories that are using [Renovate](https://github.com/apps/renovate).

Note: Since Renovate was enabled and disabled across all OpenTelemetry repositories at one point,
you will need to follow one of these two options to re-onboard:

Option 1:

* Find the original `Configure Renovate` PR,
e.g. https://github.com/open-telemetry/semantic-conventions-java/pull/34,
and rename that PR to something else, e.g. `Configure Renovate - old`.
* Enable Renovate on the repository (requires org admin permission).
* Renovate will send a new onboarding PR to the repository,
e.g. https://github.com/open-telemetry/semantic-conventions-java/pull/95.

Option 1:

* Merge `renovate.json` to `main`.
* Enable Renovate on the repository (requires org admin permission).
* Go to Renovate, e.g. https://developer.mend.io/github/open-telemetry/opentelemetry-proto-go,
and run Actions > Run Renovate scan.
* Renovate won't send a new onboarding PR in this case,
but will directly start sending PRs to update dependencies.

#### Branch protection rule: `gh-readonly-queue/main/**`

Same as for [`dependabot/**/**`](#branch-protection-rule-dependabot) above.
Expand Down
Loading