Skip to content

Commit 66fb78d

Browse files
chore: Configure Renovate (#1)
* Add renovate.json * Update renovate.json Signed-off-by: Ying WANG <[email protected]> * Rename renovate.json to renovate.json5 Signed-off-by: Ying WANG <[email protected]> * Update renovate.json5 Signed-off-by: Ying WANG <[email protected]> * Update renovate.json5 Signed-off-by: Ying WANG <[email protected]> --------- Signed-off-by: Ying WANG <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ying WANG <[email protected]>
1 parent ac114f3 commit 66fb78d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

renovate.json5

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base"
5+
],
6+
"baseBranches": ["main", "release-1.20"],
7+
"postUpdateOptions": [
8+
"gomodTidy",
9+
"gomodUpdateImportPaths"
10+
],
11+
"schedule": ["before 9am on Monday"],
12+
"packageRules": [
13+
{
14+
"matchBaseBranches": ["release-1.20"],
15+
"packagePatterns": ["*"],
16+
"enabled": false
17+
},
18+
// Pin Go at the current version, since we want to upgrade it manually.
19+
// Remember to keep this in sync when upgrading our Go version!
20+
{
21+
"matchDatasources": ["docker", "golang-version"],
22+
"matchPackageNames": ["go", "golang"],
23+
"allowedVersions": "<=1.22.5"
24+
},
25+
{
26+
"matchManagers": ["gomod"],
27+
"matchPaths": ["**/go.mod"],
28+
"schedule": ["every month"]
29+
},
30+
{
31+
"matchManagers": ["github-runners"],
32+
"schedule": ["every month"],
33+
"packagePatterns": ["*"]
34+
}
35+
],
36+
"branchPrefix": "deps-update/",
37+
"vulnerabilityAlerts": {
38+
"enabled": true,
39+
"labels": ["security-update"]
40+
},
41+
"osvVulnerabilityAlerts": true
42+
}

0 commit comments

Comments
 (0)