Skip to content

renovate-bot

renovate-bot #30

Workflow file for this run

name: renovate-bot
on:
schedule:
- cron: '5 4 * * 2'
workflow_call:
inputs:
logLevel:
description: "Override default log level"
required: false
default: "info"
type: string
overrideSchedule:
description: "Override all schedules"
required: false
default: "false"
type: string
workflow_dispatch:
inputs:
logLevel:
description: "Override default log level"
required: false
default: "info"
type: string
overrideSchedule:
description: "Override all schedules"
required: false
default: "false"
type: string
concurrency: renovate-bot
jobs:
renovate-bot:
runs-on: ubuntu-latest
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1
with:
app-id: ${{ secrets.GH_GARDENER_APP_ID }}
private-key: ${{ secrets.GH_GARDENER_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Validate Renovate JSON
run: jq type .github/renovate.json
- name: Self-hosted Renovate
env:
LOG_LEVEL: ${{ inputs.logLevel || 'info' }}
RENOVATE_AUTODISCOVER_TOPICS: 'renovate-bot'
RENOVATE_FORCE: ${{ github.event.inputs.overrideSchedule == 'true' && '{''schedule'':null}' || '' }}
RENOVATE_ONBOARDING: "false"
RENOVATE_PLATFORM_COMMIT: 'true'
RENOVATE_REPOSITORIES: ${{ github.repository }}
uses: renovatebot/github-action@0984fb80fc633b17e57f3e8b6c007fe0dc3e0d62 # v40.3.6
with:
configurationFile: .github/renovate.json
token: '${{ steps.generate-token.outputs.token }}'