diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..946752b --- /dev/null +++ b/renovate.json @@ -0,0 +1,85 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + ":disableRateLimiting", + ":docker", + ":enableVulnerabilityAlerts", + ":pinAllExceptPeerDependencies", + ":rebaseStalePrs", + ":renovatePrefix", + ":timezone(America/Sao_Paulo)", + "config:best-practices", + "schedule:earlyMondays", + "security:openssf-scorecard" + ], + "commitMessageAction": "Bump", + "commitMessageExtra": "", + "commitMessageLowerCase": "never", + "commitMessageTopic": "{{depName}}", + "semanticCommits": "disabled", + "postUpdateOptions": ["gomodTidy", "gomodUpdateImportPaths"], + "vulnerabilityAlerts": { + "addLabels": ["security"] + }, + "customManagers": [ + { + "description": "Track the pg_tle release built into the validation image and named in the install guide", + "customType": "regex", + "managerFilePatterns": [ + "/^docker/pg_tle\\.Dockerfile$/", + "/^docs/INSTALL\\.md$/" + ], + "matchStrings": [ + "ARG PG_TLE_VERSION=(?v\\d+\\.\\d+\\.\\d+)", + "against pg_tle (?v\\d+\\.\\d+\\.\\d+)" + ], + "depNameTemplate": "aws/pg_tle", + "datasourceTemplate": "github-releases", + "versioningTemplate": "semver" + } + ], + "packageRules": [ + { + "description": "One PR for all GitHub Actions bumps, not one per action per digest", + "matchManagers": ["github-actions"], + "matchDepTypes": ["action"], + "groupName": "github-actions", + "commitMessageTopic": "GitHub Actions" + }, + { + "description": "One PR for image digest refreshes", + "matchDatasources": ["docker"], + "matchUpdateTypes": ["digest"], + "groupName": "docker digests" + }, + { + "description": "The go directive and the golang image of the containerised suite move together", + "matchDatasources": ["golang-version", "docker"], + "matchDepNames": ["go", "golang"], + "matchUpdateTypes": ["major", "minor"], + "groupName": "Go toolchain" + }, + { + "description": "One PR for the golang.org/x modules", + "matchManagers": ["gomod"], + "matchPackageNames": ["golang.org/x/**"], + "groupName": "golang.org/x" + }, + { + "description": "cel-go is the conformance oracle and stays exactly pinned (CLAUDE.md). Its PR is a deliberate re-measurement, never a routine merge.", + "matchPackageNames": ["cel.dev/cel-go"], + "prBodyNotes": [ + "Bumping cel-go moves the conformance oracle: update `internal/oracle.Version` in the same commit (a test fails while they differ), re-run the full suite, and re-measure any case whose verdict changes before merging." + ] + }, + { + "description": "A PostgreSQL major changes the server every test and release check runs against", + "matchDatasources": ["docker"], + "matchPackageNames": ["postgres"], + "matchUpdateTypes": ["major"], + "prBodyNotes": [ + "A PostgreSQL major moves the server CI, the release smoke test and the pg_tle image all run on: check that the pinned pg_tle release builds against it before merging." + ] + } + ] +}