Skip to content

Schedule - Renovate #5239

Schedule - Renovate

Schedule - Renovate #5239

---
name: Schedule - 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 9,12,17 * * *"
push:
branches:
- main
paths:
- ".github/renovate.json5"
- ".github/renovate/**.json5"
- ".github/workflows/schedule-renovate.yaml"
concurrency:
group: ${{ github.workflow }}-${{ github.event.number || github.ref }}
cancel-in-progress: true
env:
LOG_LEVEL: "${{ inputs.logLevel || 'debug' }}"
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: "${{ github.repository }}"
RENOVATE_DRY_RUN: "${{ inputs.dryRun == true }}"
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
WORKFLOW_RENOVATE_VERSION: "${{ inputs.version || 'latest' }}"
RENOVATE_USERNAME: "homeops-bot[bot]"
RENOVATE_GIT_AUTHOR: "homeops-bot <104016614+homeops-bot[bot]@users.noreply.github.com>"
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: actions/[email protected]
id: generate-token
with:
app-id: "${{ secrets.HOMEOPS_BOT_APP_ID }}"
private-key: "${{ secrets.HOMEOPS_BOT_PRIVATE_KEY }}"
- name: Checkout
uses: actions/[email protected]
with:
token: "${{ steps.generate-token.outputs.token }}"
- name: Renovate
uses: renovatebot/[email protected]
with:
configurationFile: .github/renovate.json5
token: "${{ steps.generate-token.outputs.token }}"