Merge pull request #270 from ksimon1/chore/renovate-github-app

chore(deps): Run Renovate with the KubeVirt GitHub App
This commit is contained in:
kubevirt-prow[bot]
2026-11-11 13:48:55 +00:00
committed by GitHub
2 changed files with 51 additions and 0 deletions
+44
View File
@@ -0,0 +1,44 @@
---
# 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 }}
+7
View File
@@ -49,3 +49,10 @@ make build-venv
The resulting virtualenv will be symlinked to `.venv`, which for example can
be selected as virtualenv in VSCode (`Shift+Ctrl+P` and then
`Python: Select Interpreter`).
## Dependency updates with Renovate
The `Renovate` GitHub Actions workflow runs daily at 06:00 UTC and can also
be started manually from the Actions tab. It uses the existing `renovate.json`
configuration to update GitHub Actions and the end-to-end test tools.
The workflow runs only in `kubevirt/kubevirt.core`.