Renovate configuration presets that can be shared across multiple projects to standardize dependency update policies.
The default preset applies the following policies:
| Element | Description |
|---|---|
extends |
Enables Renovate's config:best-practices preset. |
dependencyDashboard.autoclose |
Automatically closes the Dependency Dashboard when no outstanding updates remain. |
ignorePresets |
Disables helpers:pinGitHubActionDigests; workflows keep version tags and gh actions-lock pins SHAs in actions.lock. Digest pinning for other managers, such as Docker, still applies. |
labels |
Labels pull requests with the dependency manager name, such as github-actions. |
minimumReleaseAge |
Waits 14 days after a release before proposing an update; reduces risk of updating to a compromised or broken release. |
reviewersFromCodeOwners |
Requests reviews from the code owners of the changed files in CODEOWNERS. |
terraform.enabled |
Disables Renovate's Terraform manager. Terraform / OpenTofu updates are made at the discretion of the local repository administrator. |
customManagers |
Uses a regex manager to update the vX.Y.Z version in .github/gh-actions-lock.version from GitHub releases for github/gh-actions-lock. Versions use Renovate's default semver-coerced scheme. |
schedule |
Creates update branches between 19:00 Sunday and 08:59 Monday (UTC). |
vulnerabilityAlerts |
Labels vulnerability fixes security. Renovate raises these outside the schedule and without the minimum release age. |
- GitHub Actions are flagged as abandoned after two years without a release.
- Minor, patch, pin, pinDigest and digest updates are grouped by manager, labelled
auto-merge, and use thebuild(<manager>):commit prefix. - Major updates are labelled
review-requiredand use thebuild(<manager>)!:commit prefix with the dependency name as the topic. - GitHub Actions updates, including majors, use the
ci(actions):commit prefix. github/gh-actions-lockupdates are labelledgithub-actionsinstead of the regex manager name and use theci(actions):commit prefix.tflint-pluginupdates use thechore(<manager>):commit prefix.ghcr.io/terrateamio/actionupdates have no minimum release age and are raised at any time.
- The labels
auto-merge,review-requiredandsecuritymust exist in the repository. - PRs labelled
auto-mergeare approved by the auto-approve job in the PR check workflow;review-requiredPRs need manual review.
To use a preset from this repository in your project, add it to your .github/renovate.json file:
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["local>3ware/renovate-config"]
}