Skip to content

Renovate

Renovate #2268

Workflow file for this run

name: Renovate
on:
schedule:
# Running every hour every working day (Monday to Friday)
- cron: '0 * * * 1-5'
# Running every two hours on weekends (Saturday and Sunday)
- cron: '0 */2 * * 6,0'
# allow to manually trigger this workflow
workflow_dispatch:
inputs:
renovate_log_level_debug:
type: boolean
description: "Rune Renovate With Debug Log Levels"
default: true
jobs:
renovate:
name: Run self-hosted Renovate
runs-on: ubuntu-latest
steps:
# we need special permission to be able to operate renovate (view, list,
# create issues, PR, etc.) and we use a GitHub application with fine
# grained permissions installed in the repository for that.
- name: Get token
id: get_token
uses: cilium/actions-app-token@61a6271ce92ba02f49bf81c755685d59fb25a59a # v0.21.1
with:
APP_PEM: ${{ secrets.CILIUM_RENOVATE_PEM }}
APP_ID: ${{ secrets.CILIUM_RENOVATE_APP_ID }}
# renovate clones the repository again in its container fs but it needs
# the renovate configuration to start.
- name: Checkout
uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938 # v4.2.0
- name: Self-hosted Renovate
uses: renovatebot/github-action@e1db501385ddcccbaae6fb9c06befae04f379f23 # v40.2.10
env:
# default to DEBUG log level, this is always useful
LOG_LEVEL: ${{ github.event.inputs.renovate_log_level_debug == 'false' && 'INFO' || 'DEBUG' }}
with:
# renovate: datasource=github-releases depName=renovatebot/renovate
renovate-version: 38.101.1
docker-user: root
docker-cmd-file: .github/actions/renovate/entrypoint.sh
configurationFile: .github/renovate.json5
token: '${{ steps.get_token.outputs.app_token }}'
mount-docker-socket: true