feat: add renovate
Some checks failed
Build Docker Container / Build-Container-Image (push) Successful in 26s
renovate / renovate (push) Failing after 50s

This commit is contained in:
Alex Wellnitz 2025-03-17 18:43:07 +01:00
parent f3eebaf9c1
commit 3fde33c99c
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,8 @@
module.exports = {
"endpoint": "https://git.dev-null.rocks/api/v1", // replace it with your actual endpoint
"gitAuthor": "Renovate Bot <renovate-bot@dev-null.rocks>",
"platform": "gitea",
"onboardingConfigFileName": "renovate.json",
"autodiscover": true,
"optimizeForDisabled": true,
};

View File

@ -0,0 +1,20 @@
name: renovate
on:
schedule:
- cron: "@daily"
push:
branches:
- main
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:37.20.2
steps:
- uses: actions/checkout@v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: "./gitea/workflows/config.js" # replace it with your config.js path
LOG_LEVEL: "debug"
RENOVATE_TOKEN: ${{ secrets.GA_TOKEN }} # your Revonate bot token

12
renovate.json Normal file
View File

@ -0,0 +1,12 @@
{
"extends": [
"config:base"
],
"packageRules": [
{
"updateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}