Skip to content

Commit 3501541

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 3501541

File tree

3 files changed

+22
-8
lines changed

3 files changed

+22
-8
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: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,16 @@ 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
2221
id-token: write
2322

2423
jobs:
2524
call-workflow:
26-
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@custom-config
25+
uses: rancher/renovate-config/.github/workflows/renovate-vault.yml@release
2726
with:
2827
logLevel: ${{ inputs.logLevel || 'info' }}
2928
overrideSchedule: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}

0 commit comments

Comments
 (0)