diff --git a/.github/renovate.json b/.github/renovate.json index 9666814..715e64b 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,68 +1,4 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "config:recommended", - ":semanticCommits", - ":preserveSemverRanges", - ":rebaseStalePrs" - ], - "minimumReleaseAge": "7 days", - "ignorePaths": [".github/workflows/lint.yaml", ".github/workflows/stale.yml"], - "labels": ["dependencies"], - "vulnerabilityAlerts": { - "labels": ["type:security"], - "minimumReleaseAge": null - }, - "constraints": {"go": "1.20"}, - "packageRules": [ - { - "matchFileNames": ["examples/**", "test/**", ".github/**"], - "commitMessagePrefix": "chore(deps):" - }, - { - "matchFileNames": ["*", "modules/**"], - "commitMessagePrefix": "fix(deps):" - }, - { - "matchFileNames": ["*", "modules/**"], - "matchUpdateTypes": "major", - "commitMessagePrefix": "fix(deps)!:" - }, - {"matchDepTypes": ["module"], "groupName": "TF modules"}, - { - "matchDepTypes": ["require"], - "groupName": "GO modules", - "postUpdateOptions": ["gomodTidy"] - }, - { - "matchDatasources": ["golang-version"], - "rangeStrategy": "bump", - "allowedVersions": "<1.21.0", - "postUpdateOptions": ["gomodTidy"] - }, - { - "matchDepNames": ["google", "google-beta"], - "groupName": "Terraform Google Provider" - } - ], - "regexManagers": [ - { - "fileMatch": ["(^|/)Makefile$"], - "matchStrings": [ - "DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?.*?)\\n" - ], - "datasourceTemplate": "docker", - "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", - "depNameTemplate": "cft/developer-tools" - }, - { - "fileMatch": ["(^|/)build/(int|lint)\\.cloudbuild\\.yaml$"], - "matchStrings": [ - " _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?.*?)'\\n" - ], - "datasourceTemplate": "docker", - "registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd", - "depNameTemplate": "cft/developer-tools" - } - ] + "extends": ["github>GoogleCloudPlatform/cloud-foundation-toolkit//infra/terraform/test-org/github/resources/renovate"] }