Skip to content

Renovate

Renovate #610

Workflow file for this run

name: Renovate
on:
schedule:
- cron: "0 1 * * *" # every night at 1 o'clock (UTC)
workflow_dispatch: # can be manually dispatched under GitHub's "Actions" tab
inputs:
dryRun:
description: 'Dry run'
type: 'boolean'
logLevel:
description: 'Log level'
required: true
default: 'info'
type: choice
options:
- info
- debug
permissions:
contents: write
pull-requests: write
jobs:
renovate:
runs-on: ubuntu-24.04
steps:
- name: Get token
id: get_token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_KEY }}
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6
with:
python-version: '3.14'
cache: 'pip' # caching pip dependencies
pip-install: -r resources/conan/requirements.txt
- name: Local Conan versiontracker
run: |
resources/conan/updater.py --renovate=tmp/renovate/ -v
- name: Serve Files
uses: Eun/http-server-action@dadebd209d4a902eeefceb524c24c38b364c46a7 # v1
with:
directory: ${{ github.workspace }}/tmp/renovate/
port: 8080
allowed-methods: |
["GET", "HEAD"]
content-types: |
{
"json": "application/json"
}
- name: Self-hosted Renovate
uses: renovatebot/github-action@693b9ef15eec82123529a37c782242f091365961 # v46.1.14
with:
docker-cmd-file: .github/renovate-entrypoint.sh
docker-user: root
docker-volumes: |
/tmp:/tmp ;
${{ github.workspace }}/resources/conan:/conan
docker-network: host
token: "${{ steps.get_token.outputs.token }}"
configurationFile: .github/renovate-config.json5
env-regex: "^(?:RENOVATE_\\w+|LOG_LEVEL)$"
env:
LOG_LEVEL: ${{ inputs.logLevel }}
RENOVATE_DRY_RUN: ${{ inputs.dryRun == true && 'full' || '' }}