diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 1ee4b451c..000000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,12 +0,0 @@ -version: 2 -updates: -- package-ecosystem: github-actions - directory: / - schedule: - interval: daily - open-pull-requests-limit: 10 -- package-ecosystem: pip - directory: / - schedule: - interval: daily - open-pull-requests-limit: 10 diff --git a/.github/renovate.json b/.github/renovate.json new file mode 100644 index 000000000..f234a6333 --- /dev/null +++ b/.github/renovate.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ], + "pre-commit": { + "enabled": true + }, + "customManagers": [ + { + "customType": "regex", + "fileMatch": [ + "\\.pre-commit-config\\.yaml" + ], + "matchStrings": [ + "(?[^'\" ]+)==(?[^'\" ,\\s]+)" + ], + "datasourceTemplate": "pypi", + "versioningTemplate": "pep440" + }, + { + "customType": "regex", + "fileMatch": [ + "\\.pre-commit-config\\.yaml" + ], + "matchStrings": [ + "(?[^'\" ]+)@(?[^'\" ,\\s]+)" + ], + "datasourceTemplate": "npm", + "versioningTemplate": "npm" + } + ] +}