Skip to content

Commit 6fd593f

Browse files
committed
configure automatic updates
1 parent b010316 commit 6fd593f

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/renovate.json5

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{
2+
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3+
extends: ["config:recommended", ":maintainLockFilesMonthly"],
4+
automerge: true,
5+
packageRules: [
6+
{
7+
matchCategories: ["javascript", "typescript"],
8+
updateTypes: ["patch"],
9+
// Disable patch updates for single dependencies because patches
10+
// are updated periodically with lockfile maintainance.
11+
enabled: false,
12+
},
13+
{
14+
matchCategories: ["rust"],
15+
updateTypes: ["patch"],
16+
// Disable patch updates for single dependencies because patches
17+
// are updated periodically with lockfile maintainance.
18+
enabled: false,
19+
},
20+
{
21+
matchManagers: ["github-actions"],
22+
// At 06:XX on Monday.
23+
schedule: "* 6 * * 1",
24+
groupName: "Github Actions",
25+
},
26+
],
27+
// Receive any update that fixes security vulnerabilities.
28+
// We need this because we disabled "patch" updates for Rust.
29+
// Note: You need to enable "Dependabot alerts" in "Code security" GitHub
30+
// Settings to receive security updates.
31+
// See https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts
32+
vulnerabilityAlerts: {
33+
enabled: true,
34+
},
35+
}

0 commit comments

Comments
 (0)