diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 6eb0cda2..00000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,48 +0,0 @@ ---- -# This action is centrally managed in https://github.com//.github/ -# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in -# the above-mentioned repo. - -version: 2 -updates: - - package-ecosystem: "docker" - directory: "/" - schedule: - interval: "daily" - time: "08:00" - open-pull-requests-limit: 10 - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - time: "08:30" - open-pull-requests-limit: 10 - - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" - time: "09:00" - open-pull-requests-limit: 10 - - - package-ecosystem: "nuget" - directory: "/" - schedule: - interval: "daily" - time: "09:30" - open-pull-requests-limit: 10 - - - package-ecosystem: "pip" - directory: "/" - schedule: - interval: "daily" - time: "10:00" - open-pull-requests-limit: 10 - - - package-ecosystem: "gitsubmodule" - directory: "/" - schedule: - interval: "daily" - time: "10:30" - open-pull-requests-limit: 10 diff --git a/renovate-config.json b/renovate-config.json new file mode 100644 index 00000000..5fe3a2cd --- /dev/null +++ b/renovate-config.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "description": "Renovate onboarding preset for use with LizardByte's repos", + "extends": ["github>LizardByte/.github:renovate-config.json5#feat-add-renovate-config"] +} diff --git a/renovate-config.json5 b/renovate-config.json5 new file mode 100644 index 00000000..497677b1 --- /dev/null +++ b/renovate-config.json5 @@ -0,0 +1,33 @@ +{ + // see https://docs.renovatebot.com/configuration-options + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "branchNameStrict": true, // remove special characters from branch names + "configMigration": true, // allow renovate to open PRs to update config + "description": "Default renovate configuration for LizardByte repositories", + "extends": [ + "config:base" + ], + "dependencyDashboard": true, // Creates an issue with a "dashboard" of dependencies + "dependencyDashboardLabels": [ + "dependencies" + ], + "labels": [ + "dependencies", + "{{category}}" + ], + "prConcurrentLimit": 10, + "rollbackPrs": true, // create a rollback PR when a dependency is yanked + "schedule": [ + "after 1am", + "before 6am" + ], + "semanticCommitScope": "deps", + "semanticCommitType": "build", + "semanticCommits": "enabled", + "timezone": "America/New_York", + "updatePinnedDependencies": true, + // beta features + "git-submodules": { + "enabled": true + } +}