Renovate #2231
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
--- | |
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Renovate | |
on: | |
# Manual Trigger | |
workflow_dispatch: | |
inputs: | |
dry-run: | |
description: Dry Run | |
default: false | |
required: false | |
type: boolean | |
log-level: | |
description: Log Level | |
default: debug | |
required: false | |
type: string | |
# Dry Run on any PR that changes the renovate config or the renovate workflow | |
pull_request: | |
paths: | |
- .github/workflows/renovate.yaml | |
- renovate.json5 | |
# "Wet" Run every 20 minutes | |
schedule: | |
- cron: "*/20 * * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
renovate: | |
uses: mirceanton/reusable-workflows/.github/workflows/reusable-renovate.yaml@eb91426a79e7b63c4649650b2aaa80c11d966ee8 # v3.4.24 | |
secrets: inherit | |
with: | |
dry-run: "${{ inputs.dry-run == true || github.event_name == 'pull_request' }}" | |
log-level: "${{ inputs.log-level || 'debug' }}" | |
config-file: "renovate.json5" |