Skip to content

RenovateBot

RenovateBot #2043

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.86.0
jobs:
renovate:
runs-on: ubuntu-24.04
steps:
- name: Get token
id: app-token
uses: actions/create-github-app-token@c1a285145b9d317df6ced56c09f525b5c2b6f755 # v1.11.1
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@2be773c4be8361d8182cc1b750e75bbc75af71b0 # v41.0.7
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/*' }}