Skip to content

Renovate

Renovate #15367

Workflow file for this run

---
# use own bot instead of Mend/Renovate app
name: "Renovate"
on: # yamllint disable-line rule:truthy
workflow_dispatch:
inputs:
dryRun:
description: "Dry-Run"
default: "false"
required: false
logLevel:
description: "Log-Level"
default: "debug"
required: false
schedule:
- cron: "0 * * * *"
push:
branches: ["main"]
paths:
- .github/renovate-bot.json5
- .github/renovate.json5
- .github/renovate/**.json5
env:
LOG_LEVEL: debug
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}"
RENOVATE_DRY_RUN: false
RENOVATE_CONFIG_FILE: .github/renovate-bot.json5
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ secrets.BOT_APP_ID }}"
private-key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Checkout
uses: actions/checkout@v4
with:
token: "${{ steps.app-token.outputs.token }}"
- name: Renovate
uses: renovatebot/github-action@28bcd5c4900a4353b5c9af9e1bd61dd6377f0f0d # v40.3.5
with:
configurationFile: .github/renovate.json5
token: "${{ steps.app-token.outputs.token }}"
renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}"