Skip to content

Commit 7db3b70

Browse files
update renovate config (#573)
Co-authored-by: Mariusz Gumowski <mariusz.gumowski@intel.com>
1 parent ce525e8 commit 7db3b70

1 file changed

Lines changed: 9 additions & 39 deletions

File tree

.github/renovate.json5

Lines changed: 9 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,68 +1,38 @@
1-
// Dependency Update Configuration
2-
//
3-
// See https://docs.renovatebot.com/configuration-options/
4-
// See https://json5.org/ for JSON5 syntax
5-
6-
// [!] While updating the Renovate config, test changes on your own fork.
7-
// 1. Modify the Renovate configuration, which is located in .github/renovate.json5 and push your changes to the default branch of your fork.
8-
// 2. Enable the Renovate GitHub app in your GitHub account.
9-
// Verify that Renovate is activated in the repository settings within the Renovate Dashboard.
10-
// To enable the dashboard set `dependencyDashboard` to true
11-
// 3. Trigger the Renovate app from the dashboard, or push a new commit to your fork’s default branch to re-trigger Renovate.
12-
// 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.
13-
// 5. Once you’ve validated that the Renovate configuration works on your fork, submit a PR,
14-
// and include links in the description to share details about the testing you've conducted.
15-
161
{
172
$schema: "https://docs.renovatebot.com/renovate-schema.json",
18-
19-
// regenerate lock weekly https://docs.renovatebot.com/configuration-options/#lockfilemaintenance
203
lockFileMaintenance: {
214
enabled: true,
22-
schedule: ["* * * * 0"], // weekly
5+
schedule: ["* * * * 0"],
236
},
24-
25-
extends: ["config:base", ":gitSignOff", "helpers:pinGitHubActionDigests"],
26-
// https://docs.renovatebot.com/presets-default/#gitsignoff
27-
// https://docs.renovatebot.com/presets-helpers/#helperspingithubactiondigests
28-
29-
// if necessary, add supported releases branches here
30-
// it is possible to enable/disable specific upgrades per branch with
31-
// `matchBaseBranches` in specific rule
7+
extends: [
8+
"config:recommended",
9+
":gitSignOff",
10+
"helpers:pinGitHubActionDigests",
11+
],
3212
baseBranches: ["master"],
33-
3413
enabledManagers: ["github-actions", "pep621"],
35-
36-
// Set limit to 10
3714
ignorePresets: [":prHourlyLimit2"],
3815
prHourlyLimit: 10,
39-
4016
packageRules: [
4117
{
4218
enabled: true,
4319
matchManagers: ["pep621"],
44-
schedule: ["* * * * 0"], // weekly
20+
schedule: ["* * * * 0"],
4521
},
46-
47-
// Disable ultralytics notifications (based on previous Dependabot config)
4822
{
4923
enabled: false,
5024
matchDatasources: ["pypi"],
5125
matchDepNames: ["ultralytics"],
5226
},
53-
54-
// Group GitHub Actions updates
5527
{
5628
enabled: true,
5729
separateMajorMinor: false,
5830
groupName: "GitHub Actions",
5931
matchManagers: ["github-actions"],
60-
matchPackagePatterns: ["*"],
61-
schedule: ["* * 1 * *"], // every month
32+
schedule: ["* * 1 * *"],
33+
matchPackageNames: ["*"],
6234
},
6335
],
64-
65-
// Enable security upgrades
6636
vulnerabilityAlerts: {
6737
enabled: true,
6838
},

0 commit comments

Comments
 (0)