Skip to content

Commit 062018e

Browse files
authored
chore: update renovate config to bump go dependencies and monorepo more frequently (#1333)
<!-- markdownlint-disable MD041 --> #### What this PR does / why we need it chore: update renovate config to bump go dependencies and monorepo more frequently #### Which issue(s) this PR fixes <!-- Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`. --> Signed-off-by: Fabian Burth <fabian.burth@sap.com>
1 parent b2b287d commit 062018e

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/renovate.json5

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
enabled: true,
1616
},
1717
'schedule': [
18-
'* * * * 0' // At every minute on Sunday it is allowed to created branches
18+
'* * * * 0' // At every minute on Sunday it is allowed to create branches
1919
],
2020
'updateNotScheduled': true, // Update branches that have already been created
2121
'minimumReleaseAge': '28 days',
@@ -31,6 +31,12 @@
3131
separateMinorPatch: true,
3232
separateMultipleMajor: true,
3333
packageRules: [
34+
{
35+
"matchDatasources": ["golang-version"],
36+
"rangeStrategy": "bump",
37+
"groupName": "Golang versions",
38+
"groupSlug": "golang-versions"
39+
},
3440
{
3541
matchManagers: [
3642
'gomod',
@@ -110,6 +116,9 @@
110116
matchPackageNames: [
111117
'ocm.software/open-component-model/**',
112118
],
119+
'schedule': [
120+
'* 22,0-6 * * *' // At every minute past hour 22 and every hour from 0 through 6.
121+
]
113122
},
114123
],
115124
customDatasources: {

.github/workflows/renovate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Renovate OCM
22
on:
33
schedule:
4-
- cron: '0 0 * * 0' # Every Sunday at midnight UTC
4+
- cron: '0 0 * * *' # At 00:0, every day
55
workflow_dispatch:
66
inputs:
77
repoCache:

0 commit comments

Comments
 (0)