Skip to content

Commit 8f9891b

Browse files
committed
build: Renovate changes
Ensures that the core configuration focuses on keeping the development branch updated, while also proposing security fixes for backporting branches. The core configuration is scheduled for Tuesdays and Thursdays only. The backporting schedule is disabled, as its execution closes open PRs by a separate configuration (e.g. the core config). Signed-off-by: Paulo Gomes <[email protected]>
1 parent 048baf2 commit 8f9891b

File tree

3 files changed

+21
-7
lines changed

3 files changed

+21
-7
lines changed

.github/renovate.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"prHourlyLimit": 4,
1212
"packageRules": [
1313
{
14+
"description": "Constraint k8s versions",
1415
"matchBaseBranches": [
1516
"main"
1617
],
@@ -23,13 +24,31 @@
2324
"allowedVersions": "<0.33.0"
2425
},
2526
{
27+
"description": "Disable non-security bumps for backporting branches",
2628
"enabled": false,
2729
"matchBaseBranches": [
2830
"release/v1.1",
2931
"release/v1.2",
3032
"release/v1.3",
3133
"release/v1.4"
3234
]
35+
},
36+
{
37+
"description": "Ensure CA bumps are enabled for backporting branches",
38+
"enabled": true,
39+
"matchBaseBranches": [
40+
"release/v1.1",
41+
"release/v1.2",
42+
"release/v1.3",
43+
"release/v1.4"
44+
],
45+
"matchPackageNames": [
46+
"golang.org/x/crypto/x509roots/fallback"
47+
],
48+
"matchUpdateTypes": [
49+
"patch",
50+
"digest"
51+
]
3352
}
3453
],
3554
"vulnerabilityAlerts": {

.github/workflows/renovate-vault-backports.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ on:
1212
required: false
1313
default: "false"
1414
type: string
15-
schedule:
16-
# For backport/release branches, runs twice every other day in
17-
# the last third of the month.
18-
- cron: '30 4,6 21-31/2 * 2-4'
1915

2016
permissions:
2117
contents: read

.github/workflows/renovate-vault.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ on:
1313
default: "false"
1414
type: string
1515
schedule:
16-
# For main branche, runs twice every other day in the first two
17-
# thirds of the month.
18-
- cron: '30 4,6 1-20/2 * 2-4'
16+
# Runs twice on Tuesdays to Thursdays.
17+
- cron: '30 4,6 * * 2-4'
1918

2019
permissions:
2120
contents: read

0 commit comments

Comments
 (0)