Files
kubevirt.core/.github/workflows/renovate.yml
T
Karel Simon 60839a8b2c chore(deps): Run Renovate with the KubeVirt GitHub App
Add a daily and manually triggered Renovate workflow based on the
kubevirt-tekton-tasks setup. Use a short-lived GitHub App token and
retain the existing repository dependency configuration.

Document the required App access, permissions, and Actions secrets.

Assisted-by: Codex (OpenAI)
Signed-off-by: Karel Simon <ksimon@redhat.com>
2026-11-02 12:54:18 +01:00

45 lines
1.1 KiB
YAML

---
# Copyright 2026 Red Hat, Inc.
# Apache License 2.0 (see LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
#
# Required Actions secrets: RENOVATE_APP_ID and RENOVATE_APP_PRIVATE_KEY.
# See docs/developing.md for GitHub App setup.
name: Renovate
# yamllint disable-line rule:truthy
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
permissions:
contents: read
jobs:
renovate:
runs-on: ubuntu-latest
# Do not run in private forks
if: github.repository == 'kubevirt/kubevirt.core'
steps:
- name: Checkout
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Generate GitHub App token
id: app-token
uses: actions/create-github-app-token@v3
with:
app-id: ${{ secrets.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
- name: Run Renovate
uses: renovatebot/github-action@v46.3.11
with:
configurationFile: renovate.json
token: ${{ steps.app-token.outputs.token }}
env:
LOG_LEVEL: info
RENOVATE_REPOSITORIES: ${{ github.repository }}