Skip to content

Renovate

Renovate #1087

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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Self-hosted Renovate
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
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: 37.423.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