Skip to content

Renovate

Renovate #22474

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Renovate
permissions: { contents: read }
on:
schedule: [{ cron: '0 * * * *' }]
workflow_dispatch:
inputs:
dry-run:
description: Dry Run
default: false
required: false
type: boolean
log-level:
description: Log Level
type: choice
default: debug
options: [debug, info]
required: true
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Generate Token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
id: app-token
with:
app-id: '${{ secrets.BOT_APP_ID }}'
private-key: '${{ secrets.BOT_APP_PRIVATE_KEY }}'
- name: Run Renovate
uses: renovatebot/github-action@83ec54fee49ab67d9cd201084c1ff325b4b462e4 # v46.1.10
env:
LOG_LEVEL: "${{ inputs.log-level || 'debug' }}"
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: '${{ github.repository }}'
RENOVATE_DRY_RUN: '${{ inputs.dry-run == true }}'
with:
token: '${{ steps.app-token.outputs.token }}'