diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..7f0582855 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "local>USA-RedDragon/renovate-configs", + "local>USA-RedDragon/renovate-configs:golang" + ], + "regexManagers": [ + { + "datasourceTemplate": "docker", + "fileMatch": [ + "(^|/)internal\\/testutils\\/consts\\.go$" + ], + "matchStrings": [ + "^const RedisImageName = \"(?.*?)\"\nconst RedisTag = \"(?.*?)\"" + ] + }, + { + "fileMatch": [ + "^\\.github\\/workflows\\/.*\\.ya?ml$" + ], + "matchStrings": [ + "node-version: '(?.+?)'" + ], + "depNameTemplate": "node", + "datasourceTemplate": "docker", + "versioningTemplate": "docker" + } + ] +} \ No newline at end of file diff --git a/renovate.json b/renovate.json deleted file mode 100644 index 487085978..000000000 --- a/renovate.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": [ - "local>USA-RedDragon/renovate-configs", - "local>USA-RedDragon/renovate-configs:golang" - ], - "regexManagers": [ - { - "datasourceTemplate": "docker", - "fileMatch": ["(^|/)internal\\/testutils\\/consts\\.go$"], - "matchStrings": [ - "^const RedisImageName = \"(?.*?)\"\nconst RedisTag = \"(?.*?)\"" - ] - }, - { - "fileMatch": ["^\\.github\\/workflows\\/.*\\.ya?ml$"], - "matchStrings": [ - "node-version: '(?.+?)'" - ], - "depNameTemplate": "node", - "datasourceTemplate":"docker", - "versioningTemplate": "docker" - } - ] -}