Skip to content

Renovate Config

Usage

Organisation setup

Get a github orgnisation administrator to:

Repository Setup

Ensure that the repository has the following branch protection settings:

  • Require a pull request before merging
    • Require Approvals (1)
    • Dismiss stale pull request approvals when new commits are pushed
    • Require review from Code Owners
    • Restrict who can dismiss pull request reviews
    • Allow specified actors to bypass required pull requests Specify
    • Require approval of the most recent reviewable push
  • Require status checks to pass before merging (If you have status checks)
    • Require branches to be up to date before merging
    • Run lint
    • Run tests
    • Check Version
    • Run dependency check
    • Build docker image
  • Require conversation resolution before merging

Codebase

Add this into your application repositories renovate.json:

{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": ["github>digicatapult/renovate-config"]
}

Terraform / Terragrunt repositories

For repositories containing Terraform or Terragrunt infrastructure code (e.g. *-tf-infra, *-terragrunt-infra), use the terraform preset instead:

{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": ["github>digicatapult/renovate-config:terraform"]
}

This preset enables managers for:

  • .tf files — Terraform providers, registry modules, and required_version constraints
  • terragrunt.hcl files — Terragrunt module sources
  • .terraform-version and .terragrunt-version — CLI version pinning (asdf/tfenv style)
  • GitHub Actions workflows (inherited from the default preset)

Behaviour:

  • No automerge for any Terraform-related update — every change requires a human review of the resulting terraform plan.
  • Grouped PRs — minor and patch updates for providers / modules are batched into a single PR per ecosystem to reduce noise; major updates get their own PR labeled major-update.
  • Business hours only — PRs are opened Monday–Friday, 09:00–17:00 (Europe/London) so reviewers are available.
  • Rate limited — at most 2 new PRs per hour and 5 concurrent open PRs.
  • 3-day stability wait for grouped minor/patch updates to avoid pulling in immediately-yanked releases.

Flux repositories

{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": ["github>digicatapult/renovate-config:flux"]
}

Helm chart repositories

{
	"$schema": "https://docs.renovatebot.com/renovate-schema.json",
	"extends": ["github>digicatapult/renovate-config:helm"]
}

Links


Released under the APACHE 2.

About

No description or website provided.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors