Initial Renovate automerge configuration #5057
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR starts the configuration needed for enabling automerge with renovate.
For now, it won’t work as is, for example, because of the way the CODEOWNERS file is written, and the old branch protection settings.
But, it is still useful to start learning on how it works, what Renovate would consider ready to automerge. We will still need to place approvals for now.
Later on, we will need to adapt the repo’s config to use rulesets, and define our restrictions and approval settings there. After that, the CODEOWNERS file would be kinda useless.
Automerge doesn’t apply to all PRs. We configure for what of the Renovate PRs we want, for now, lock file maintenance, pin, digest and patch updates. Other non-renovate PRs aren’t affected. On GitHub, it uses the platform’s automerge functionality.
PRs should be merged with squash-merge, since it is our default merge method (if not the only one allowed). The renovate config for automergeStrategy is left to « auto ». https://docs.renovatebot.com/configuration-options/#automergestrategy
Proposed Changes
Readiness Checklist
Author/Contributor
Reviewing Maintainer
breaking
if this is a large fundamental changeautomation
,bug
,documentation
,enhancement
,infrastructure
, orperformance