-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #157 from rancher/deploy-renovate-2024-01-16-10-59-55
Add initial Renovate configuration
- Loading branch information
Showing
2 changed files
with
34 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"extends": [ | ||
"github>rancher/renovate-config#release" | ||
], | ||
"baseBranches": [ | ||
"main" | ||
], | ||
"prHourlyLimit": 2 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Renovate | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
logLevel: | ||
description: "Override default log level" | ||
required: false | ||
default: "info" | ||
type: string | ||
overrideSchedule: | ||
description: "Override all schedules" | ||
required: false | ||
default: "false" | ||
type: string | ||
# Run twice in the early morning (UTC) for initial and follow up steps (create pull request and merge) | ||
schedule: | ||
- cron: '30 4,6 * * *' | ||
|
||
jobs: | ||
call-workflow: | ||
uses: rancher/renovate-config/.github/workflows/renovate.yml@release | ||
with: | ||
logLevel: ${{ inputs.logLevel || 'info' }} | ||
overrideSchedule: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }} | ||
secrets: inherit |