configure renovate with a recurring action
All checks were successful
Tests / test (push) Successful in 23s

This commit is contained in:
Tobias Brunner 2025-05-27 10:56:41 +02:00
parent 1dda974e11
commit 126ff35065
No known key found for this signature in database
2 changed files with 54 additions and 0 deletions

View file

@ -0,0 +1,27 @@
name: Renovate Dependency Bot
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch:
jobs:
renovate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "18"
- name: Renovate
uses: github.com/renovatebot/github-action@v42.0.4
with:
token: ${{ secrets.RENOVATE_TOKEN }}
env:
LOG_LEVEL: info
RENOVATE_CONFIG_FILE: renovate.json
RENOVATE_ENDPOINT: ${{ vars.RENOVATE_ENDPOINT }}

27
renovate.json Normal file
View file

@ -0,0 +1,27 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base"
],
"pip_requirements": {
"fileMatch": [
"^pyproject\\.toml$"
]
},
"dockerfile": {
"fileMatch": [
"^Dockerfile$"
]
},
"github-actions": {
"fileMatch": [
"^\\.forgejo\\/workflows\\/.*\\.yml$"
]
},
"labels": [
"dependencies"
],
"lockFileMaintenance": {
"enabled": true
}
}