Skip to content

Commit aef10cd

Browse files
authored
Update removate config to stop updationg tekton files for the current release (open-cluster-management-io#305)
Signed-off-by: zhujian <[email protected]>
1 parent 7dd1a31 commit aef10cd

File tree

1 file changed

+20
-33
lines changed

1 file changed

+20
-33
lines changed

.github/renovate.json5

Lines changed: 20 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -7,60 +7,47 @@
77
"packageRules": [
88
{
99
"matchManagers": [
10-
"dockerfile"
10+
"dockerfile",
1111
],
12-
"matchFileNames": [
13-
"build/Dockerfile.addon",
14-
"build/Dockerfile.addon.rhtap",
15-
"build/Dockerfile.placement",
16-
"build/Dockerfile.placement.rhtap",
17-
"build/Dockerfile.registration",
18-
"build/Dockerfile.registration.rhtap",
19-
"build/Dockerfile.registration-operator",
20-
"build/Dockerfile.registration-operator.rhtap",
21-
"build/Dockerfile.work",
22-
"build/Dockerfile.work.rhtap",
23-
],
24-
"enabled": true
12+
"enabled": false, // disable dockerfile update
2513
},
2614
{
2715
"matchBaseBranches": [
28-
"backplane-2.8",
29-
"backplane-2.7",
30-
"backplane-2.6",
31-
"backplane-2.5"
16+
"backplane-2.9", // disable all update for the current release, otherwise fast forward will fail
17+
"backplane-2.4", // disable all update for the old releases
3218
],
33-
"matchManagers": [
34-
"gomod",
35-
"dockerfile"
36-
],
37-
"enabled": true,
38-
"addLabels": [
39-
"approved"
40-
]
19+
"enabled": false
4120
},
4221
{
4322
"matchBaseBranches": [
44-
"main", // should not update main branch for upstream repos
45-
"backplane-2.9", // should not update current release branch
23+
"main", // disable gomod update for the main branch(upstream repo), only tekton update allowed for main
4624
],
4725
"matchManagers": [
4826
"gomod",
49-
"dockerfile"
5027
],
5128
"enabled": false,
5229
},
5330
{
5431
"matchBaseBranches": [
55-
"backplane-2.4",
32+
"backplane-2.8",
33+
"backplane-2.7",
34+
"backplane-2.6",
35+
"backplane-2.5"
5636
],
57-
"enabled": false
58-
}
37+
"matchManagers": [
38+
"gomod",
39+
],
40+
"enabled": true, // enable gomod update for z stream releases
41+
"addLabels": [
42+
"lgtm"
43+
]
44+
},
5945
],
6046
"rebaseWhen": "behind-base-branch",
6147
"recreateWhen": "never",
6248
"addLabels": [
63-
"ok-to-test"
49+
"ok-to-test",
50+
"approved",
6451
],
6552
"schedule": "at any time"
6653
}

0 commit comments

Comments
 (0)