Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 9 additions & 39 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -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,
},
Expand Down
Loading