diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 69f2040..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,11 +0,0 @@ -version: 2 -updates: - - package-ecosystem: github-actions - directory: / - schedule: - interval: monthly - - - package-ecosystem: npm - directory: / - schedule: - interval: monthly diff --git a/renovate.json5 b/renovate.json5 new file mode 100644 index 0000000..d22eb32 --- /dev/null +++ b/renovate.json5 @@ -0,0 +1,25 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", // https://docs.renovatebot.com/presets-config/#configrecommended + ":pinAllExceptPeerDependencies", // https://docs.renovatebot.com/presets-default/#pinonlydevdependencies + "helpers:pinGitHubActionDigests", // https://docs.renovatebot.com/upgrade-best-practices/#extends-helperspingithubactiondigests + "schedule:monthly" // https://docs.renovatebot.com/presets-schedule/#schedulemonthly + ], + "packageRules": [ + { + "groupName": "all devDependencies", + "excludePackageNames": ["dependency-cruiser", "tj-actions/changed-files", "actions/checkout"], + "matchDepTypes": ["devDependencies", "packageManager", "actions"], + "automerge": true + }, + { + "groupName": "all dependencies", + "matchDepTypes": ["dependencies", "engines", "github-runner"] + }, + { + "groupName": "all dependencies (github-actions)", + "matchPackageNames": ["tj-actions/changed-files", "actions/checkout"] + } + ] +}