Renovate #1488
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
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@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 | |
- name: Self-hosted Renovate | |
uses: renovatebot/github-action@2e021d24483d81e77e0e902d0809adfbfff276fc # v40.1.10 | |
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 }} |