Skip to content

Renovate Bot

Renovate Bot #38

Workflow file for this run

name: Renovate Bot
on:
push:
branches: [ main ]
paths: [ .github/workflows/renovate.yml, .github/renovate.json ]
workflow_dispatch:
inputs:
dryRun:
description: Dry Run Renovate
type: boolean
default: false
required: true
schedule:
- cron: '0 10 * * 3' # 10 UTC on Weds
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
actions: write
contents: write
issues: write
pull-requests: write
statuses: read
jobs:
renovate-bot:
runs-on: ubuntu-latest
environment: renovate-bot
steps:
- uses: actions/create-github-app-token@v3
id: app-token
with:
app-id: ${{ secrets.RENOVATE_BOT_APP_ID }}
private-key: ${{ secrets.RENOVATE_BOT_PRIVATE_KEY }}
- uses: actions/checkout@v6
with:
token: ${{ steps.app-token.outputs.token }}
- name: Self-hosted Renovate
uses: renovatebot/github-action@eb932558ad942cccfd8211cf535f17ff183a9f74 # v46.1.9
env:
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: ${{ github.repository }}
RENOVATE_DRY_RUN: ${{ inputs.dryRun }}
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
RENOVATE_GIT_AUTHOR: ${{ secrets.RENOVATE_BOT_GIT_AUTHOR }}
with:
configurationFile: .github/renovate.json
token: ${{ steps.app-token.outputs.token }}