Skip to content

Schedule - Renovate #2810

Schedule - Renovate

Schedule - Renovate #2810

---
name: Schedule - Renovate
on:
workflow_dispatch:
inputs:
dryRun:
description: "Dry-Run"
default: false
required: false
type: boolean
autodiscover_filter:
description: "Autodiscover filter"
default: "*"
required: false
logLevel:
description: "Log-Level"
default: "debug"
required: false
schedule:
- cron: "0 * * * *"
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.LAB_ASSISTANT_APP_ID }}
private-key: ${{ secrets.LAB_ASSISTANT_APP_KEY }}
owner: ${{ github.repository_owner }}
- name: Checkout
uses: actions/checkout@v4
with:
token: "${{ steps.app-token.outputs.token }}"
- name: Renovate
uses: renovatebot/[email protected]
env:
LOG_LEVEL: ${{ inputs.logLevel || 'debug' }}
RENOVATE_DRY_RUN: ${{ inputs.dryRun == true }}
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: ${{ github.repository_owner }}/${{ inputs.autodiscover_filter || '*' }}
RENOVATE_PLATFORM: "github"
RENOVATE_PLATFORM_COMMIT: "true"
with:
token: "${{ steps.app-token.outputs.token }}"