diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 4aa7999..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,30 +0,0 @@ -# To get started with Dependabot version updates, you'll need to specify which -# package ecosystems to update and where the package manifests are located. -# Please see the documentation for all configuration options: -# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates - -version: 2 -updates: - # Check for npm package updates - - package-ecosystem: npm - directory: / - schedule: - interval: weekly - day: monday - time: '12:00' - groups: - npm-dependencies: - patterns: - - '*' # Group all updates together - - # Check for Github Actions version updates (for CI/CD) - - package-ecosystem: github-actions - directory: / - schedule: - interval: weekly - day: monday - time: '12:00' - groups: - github-actions: - patterns: - - '*' # Group all updates together diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..3b65b9e --- /dev/null +++ b/renovate.json @@ -0,0 +1,24 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended", + ":semanticCommitTypeAll(chore)", + "helpers:pinGitHubActionDigests", + "schedule:weekly" + ], + "minimumReleaseAge": "3 days", + "packageRules": [ + { + "description": "One PR for all non-major npm updates", + "matchManagers": ["npm"], + "matchUpdateTypes": ["minor", "patch"], + "groupName": "npm non-major" + }, + { + "description": "One PR for all GitHub Actions updates", + "matchManagers": ["github-actions"], + "matchDepTypes": ["action"], + "groupName": "github-actions" + } + ] +}