-
Notifications
You must be signed in to change notification settings - Fork 4
37 lines (37 loc) · 1.51 KB
/
rennovate.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Renovate
on:
# Allows manual/automated ad-hoc trigger
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 a few times through the day to catch up with any decisions made in the issue
# Run at odd times to avoid overlap with too many other workflows on GitHub Actions
# note github actions cron is in UTC so this is 7:18am, 12:18pm, 15:18pm in AEST.
schedule:
- cron: "18 21,2,5 * * *"
concurrency: renovate
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@3cef36a9aba515d8726b491905b3bc766832e221 # v39.0.5
env:
RENOVATE_REPOSITORIES: ${{ github.repository }}
RENOVATE_PLATFORM_COMMIT: "true"
# Override schedule if set
RENOVATE_FORCE: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}
LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
with:
token: ${{ secrets.RENOVATE_TOKEN }}