Skip to content

RenovateBot

RenovateBot #882

Workflow file for this run

---
name: RenovateBot
on:
workflow_dispatch:
inputs:
debug:
description: Increase RenovateBot log level to debug.
required: false
default: false
type: boolean
repoFilter:
description: >
Filter the repositories Renovate runs against.
Can be regex or minimatch glob-style.
See https://docs.renovatebot.com/self-hosted-configuration/#autodiscoverfilter
required: false
default: 'salt-extensions/*'
type: string
schedule:
- cron: '23 * * * *'
env:
# renovate: datasource=docker depName=renovate packageName=ghcr.io/renovatebot/renovate
RENOVATE_VERSION: 39.10.2
jobs:
renovate:
runs-on: ubuntu-24.04
steps:
- name: Get token
id: app-token
uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
with:
app-id: ${{ secrets.GHA_RENOVATE_APP_ID }}
private-key: ${{ secrets.GHA_RENOVATE_PK }}
owner: ${{ github.repository_owner }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@67a664fc9b4481b33a3eff6ee9edfb7a7b9dfa1e # v41.0.2
with:
configurationFile: .github/renovate-global.json
renovate-version: ${{ env.RENOVATE_VERSION }}
token: ${{ steps.app-token.outputs.token }}
env:
LOG_LEVEL: ${{ (github.event_name == 'workflow_dispatch' && inputs.debug) && 'debug' || 'info' }}
RENOVATE_AUTODISCOVER_FILTER: ${{ github.event_name == 'workflow_dispatch' && inputs.repoFilter || 'salt-extensions/*' }}