Renovate #12
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 twice a week, on Thursday and Friday at 2:18pm MST (Github Actions cron is UTC) | |
# Run at an odd time to avoid overlap with too many other workflows on GitHub Actions | |
schedule: | |
- cron: "18 21 * * 4,5" | |
concurrency: renovate | |
jobs: | |
renovate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 | |
- name: Self-hosted Renovate | |
uses: renovatebot/github-action@7bfea4459bd634791b0d5b02bfa0080b8123b776 # v40.0.3 | |
env: | |
RENOVATE_REPOSITORIES: ${{ github.repository }} | |
RENOVATE_PLATFORM_COMMIT: "true" | |
RENOVATE_USERNAME: "renovate[bot]" | |
RENOVATE_GIT_AUTHOR: ${{ secrets.RENOVATE_GIT_AUTHOR }} | |
# Override schedule if set | |
RENOVATE_FORCE: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }} | |
LOG_LEVEL: ${{ inputs.logLevel || 'info' }} | |
with: | |
token: ${{ secrets.RENOVATE_TOKEN }} |