diff --git a/.github/renovate.json5 b/.github/renovate.json5 index 1f4d97d7..10d9c0aa 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -1,68 +1,38 @@ -// Dependency Update Configuration -// -// See https://docs.renovatebot.com/configuration-options/ -// See https://json5.org/ for JSON5 syntax - -// [!] While updating the Renovate config, test changes on your own fork. -// 1. Modify the Renovate configuration, which is located in .github/renovate.json5 and push your changes to the default branch of your fork. -// 2. Enable the Renovate GitHub app in your GitHub account. -// Verify that Renovate is activated in the repository settings within the Renovate Dashboard. -// To enable the dashboard set `dependencyDashboard` to true -// 3. Trigger the Renovate app from the dashboard, or push a new commit to your fork’s default branch to re-trigger Renovate. -// 4. Use the dashboard to initiate Renovate and create a PR on your fork, then check that the proposed PRs are modifying the correct parts. -// 5. Once you’ve validated that the Renovate configuration works on your fork, submit a PR, -// and include links in the description to share details about the testing you've conducted. - { $schema: "https://docs.renovatebot.com/renovate-schema.json", - - // regenerate lock weekly https://docs.renovatebot.com/configuration-options/#lockfilemaintenance lockFileMaintenance: { enabled: true, - schedule: ["* * * * 0"], // weekly + schedule: ["* * * * 0"], }, - - extends: ["config:base", ":gitSignOff", "helpers:pinGitHubActionDigests"], - // https://docs.renovatebot.com/presets-default/#gitsignoff - // https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigests - - // if necessary, add supported releases branches here - // it is possible to enable/disable specific upgrades per branch with - // `matchBaseBranches` in specific rule + extends: [ + "config:recommended", + ":gitSignOff", + "helpers:pinGitHubActionDigests", + ], baseBranches: ["master"], - enabledManagers: ["github-actions", "pep621"], - - // Set limit to 10 ignorePresets: [":prHourlyLimit2"], prHourlyLimit: 10, - packageRules: [ { enabled: true, matchManagers: ["pep621"], - schedule: ["* * * * 0"], // weekly + schedule: ["* * * * 0"], }, - - // Disable ultralytics notifications (based on previous Dependabot config) { enabled: false, matchDatasources: ["pypi"], matchDepNames: ["ultralytics"], }, - - // Group GitHub Actions updates { enabled: true, separateMajorMinor: false, groupName: "GitHub Actions", matchManagers: ["github-actions"], - matchPackagePatterns: ["*"], - schedule: ["* * 1 * *"], // every month + schedule: ["* * 1 * *"], + matchPackageNames: ["*"], }, ], - - // Enable security upgrades vulnerabilityAlerts: { enabled: true, },