Skip to content

Renovate

Renovate #7937

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Renovate
on:
schedule:
- cron: "0 * * * *"
workflow_dispatch:
inputs:
distinct_id:
dryRun:
description: Dry Run
default: false
required: false
type: boolean
autodiscoverFilter:
description: Autodiscover Filter
default: "*"
required: false
logLevel:
description: Log Level
type: choice
default: debug
options:
- debug
- info
permissions:
contents: read
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
permissions:
packages: read
steps:
- name: echo distinct ID ${{ github.event.inputs.distinct_id }}
run: echo ${{ github.event.inputs.distinct_id }}
- name: Checkout
uses: actions/checkout@93cb6efe18208431cddfb8368fd83d5badbf9bfd # v5.0.1
- name: Generate Token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
id: app-token
with:
app-id: ${{ secrets.BOT_APP_ID }}
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- name: Renovate
uses: renovatebot/github-action@eaf12548c13069dcc28bb75c4ee4610cdbe400c5 # v44.2.6
env:
LOG_LEVEL: ${{ inputs.logLevel || 'debug' }}
RENOVATE_DRY_RUN: ${{ inputs.dryRun == true }}
RENOVATE_AUTODISCOVER: true
RENOVATE_AUTODISCOVER_FILTER: ${{ github.repository_owner }}/${{ inputs.autodiscoverFilter || '*' }}
RENOVATE_INTERNAL_CHECKS_FILTER: strict
RENOVATE_PLATFORM: github
RENOVATE_PLATFORM_COMMIT: true
with:
token: ${{ steps.app-token.outputs.token }}