diff --git a/.github/renovate.json b/.github/renovate.json index ee43e44..56a57f4 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,7 +1,24 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "ignorePaths": [ "**/internal/testdata/snapshots/**", ".tool-versions" ], + "ignorePaths": [ "internal/testdata/snapshots/**" ], "extends": [ - "local>sourcegraph/renovate-config" + "config:recommended" + ], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^\\.github/workflows/test\\.yaml$"], + "matchStrings": [ + "repo: (?[^\\s]+)\\s+ref: (?v[^\\s]+)" + ], + "datasourceTemplate": "github-releases" + } + ], + "packageRules": [ + { + "matchManagers": ["custom.regex"], + "matchFileNames": [".github/workflows/test.yaml"], + "schedule": ["on the first day of the month in January,April,July,October"] + } ] }