Skip to content

Renovate

Renovate #8012

Workflow file for this run

---
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: "Renovate"
on:
workflow_dispatch:
inputs:
# https://docs.renovatebot.com/self-hosted-configuration/#dryrun
dryRun:
description: "Dry Run"
default: "false"
required: false
# https://docs.renovatebot.com/examples/self-hosting/#about-the-log-level-numbers
logLevel:
description: "Log Level"
default: "debug"
required: false
version:
description: Renovate version
default: latest
required: false
schedule:
- cron: "0 * * * *"
push:
branches:
- main
paths:
- .github/workflows/renovate.yaml
- .github/renovate.json5
- .github/renovate/**.json5
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' }}"
jobs:
renovate:
name: Renovate
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Validate Renovate Configuration
uses: suzuki-shunsuke/github-action-renovate-config-validator@b54483862375f51910a60c4f498e927d4f3df466 # v1.0.1
- name: Generate Token
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: "${{ secrets.ARX_GITHUB_APP_ID }}"
private-key: "${{ secrets.ARX_GITHUB_APP_PRIVATE_KEY }}"
- name: Renovate
uses: renovatebot/github-action@063e0c946b9c1af35ef3450efc44114925d6e8e6 # v40.1.11
with:
configurationFile: .github/renovate.json5
token: "x-access-token:${{ steps.app-token.outputs.token }}"
renovate-version: "${{ env.WORKFLOW_RENOVATE_VERSION }}"