Skip to content

Schedule - Renovate #31068

Schedule - Renovate

Schedule - Renovate #31068

---
name: Schedule - Renovate
# yamllint disable-line rule:truthy
on:
workflow_dispatch:
inputs:
dryRun:
description: "Dry-Run"
default: "false"
required: false
logLevel:
description: "Log-Level"
default: "info"
required: false
schedule:
- cron: "0/15 4-10 * * 1"
- cron: "0 5 * * *"
push:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
LOG_LEVEL: info
DRY_RUN: false
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Generate Token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: "${{ secrets.APP_ID }}"
private_key: "${{ secrets.APP_PRIVATE_KEY }}"
- name: Override default config from dispatch variables
run: |
echo "DRY_RUN=${{ github.event.inputs.dryRun || env.DRY_RUN }}" >> "$GITHUB_ENV"
echo "LOG_LEVEL=${{ github.event.inputs.logLevel || env.LOG_LEVEL }}" >> "$GITHUB_ENV"
- name: Renovate
# yamllint disable-line rule:comments
uses: renovatebot/github-action@2be773c4be8361d8182cc1b750e75bbc75af71b0 # v41.0.7
with:
configurationFile: .github/renovate-config.json
token: "${{ steps.generate-token.outputs.token }}"