Renovate #15773
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
--- | |
# 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@e02bf7b1c996027e55e910400653576a8293246c # v41.0.3 | |
with: | |
configurationFile: .github/renovate.json5 | |
token: "${{ steps.app-token.outputs.token }}" | |
renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}" |