Skip to content

Commit 81033ca

Browse files
authored
ci: Add configuration for renovatebot (#1114)
Based on the configuration for bors [1]. [1]: https://github.com/rust-lang/bors/blob/d89bfc24e8e7add3b03af3ab7307cd3b2a1af879/.github/renovate.json5
1 parent e2aaeeb commit 81033ca

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

.github/renovate.json5

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

0 commit comments

Comments
 (0)