Skip to content

Commit 2b62d5c

Browse files
authored
Merge pull request #71 from rancher/deploy-renovate-2023-04-18-11-27-11
Add initial Renovate configuration
2 parents b7a028f + 2ac221e commit 2b62d5c

2 files changed

Lines changed: 34 additions & 0 deletions

File tree

.github/renovate.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"extends": [
3+
"github>rancher/renovate-config#release"
4+
],
5+
"baseBranches": [
6+
"master"
7+
],
8+
"prHourlyLimit": 2
9+
}

.github/workflows/renovate.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Renovate
2+
on:
3+
workflow_dispatch:
4+
inputs:
5+
logLevel:
6+
description: "Override default log level"
7+
required: false
8+
default: "info"
9+
type: string
10+
overrideSchedule:
11+
description: "Override all schedules"
12+
required: false
13+
default: "false"
14+
type: string
15+
# Run twice in the early morning (UTC) for initial and follow up steps (create pull request and merge)
16+
schedule:
17+
- cron: '30 4,6 * * *'
18+
19+
jobs:
20+
call-workflow:
21+
uses: rancher/renovate-config/.github/workflows/renovate.yml@release
22+
with:
23+
logLevel: ${{ inputs.logLevel || 'info' }}
24+
overrideSchedule: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}
25+
secrets: inherit

0 commit comments

Comments
 (0)