Organisation-wide Renovate configuration for the lightspeedwp GitHub organisation, run by the
Mend Renovate app on the Community (free) plan.
The Mend app applies inherited config
from org-inherited-config.json in this repository to every repository the app is installed on.
Mend switches inheritance on for the organisation only after it sees a commit to that file.
Merge order, lowest to highest: Mend global config, then this file, then a repository's own
renovate.json. Repository-level settings do not remove inherited package rules: those rules can
still match updates and override scalar settings such as automerge.
To disable automerge while keeping update PRs enabled, a repository can add a later matching package
rule in its renovate.json:
{
"packageRules": [
{
"matchPackageNames": ["*"],
"automerge": false
}
]
}| Update | Behaviour |
|---|---|
| Minor and patch (not 0.x) | Merged by Renovate once all status checks pass |
| Digest, pin and lock-file maintenance | Merged by Renovate once all status checks pass |
| Major updates and 0.x versions | Left open for a human to review and merge |
Repositories without a renovate.json are processed without an onboarding PR
(onboarding: false, requireConfig: "optional").
- The Mend Renovate app must be installed on the repository.
platformAutomergeis off: Renovate merges a PR itself, on a later run, once every status check is green. GitHub's native auto-merge is not used, because on a repository without required checks it merges the moment the PR opens, before CI has run.- Branch protection with required status checks. Renovate automerges only when checks pass, so a repository with no checks gets no protection from a broken update.
- If branch protection requires an approving review, install the renovate-approve app on the organisation, or Renovate cannot automerge.
- A
renovate.jsononly where a repository needs different behaviour.
npx --yes --package renovate -- renovate-config-validator --strict org-inherited-config.jsonThe validate workflow runs the same check on every pull request.