Skip to content

Commit 08132f9

Browse files
committed
configure automatic updates
1 parent b010316 commit 08132f9

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/renovate.json5

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
// Receive any update that fixes security vulnerabilities.
22+
// We need this because we disabled "patch" updates for Rust.
23+
// Note: You need to enable "Dependabot alerts" in "Code security" GitHub
24+
// Settings to receive security updates.
25+
// See https://docs.renovatebot.com/configuration-options/#vulnerabilityalerts
26+
vulnerabilityAlerts: {
27+
enabled: true,
28+
},
29+
}

0 commit comments

Comments
 (0)