ci: Added renovate configuration files for Gitea workflow automation
All checks were successful
Go / build (push) Successful in -11s
renovate / renovate (push) Successful in 40s

This commit is contained in:
Alex Wellnitz 2025-03-25 22:43:56 +01:00
parent 30281d02fb
commit 9b08b40b5e
3 changed files with 38 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:39.211.0
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.RENOVATE_TOKEN }} # your Revonate bot token

10
renovate.json Normal file
View File

@ -0,0 +1,10 @@
{
"extends": ["config:recommended", ":dependencyDashboard"],
"packageRules": [
{
"matchUpdateTypes": ["minor", "patch", "pin", "digest"],
"automerge": true
}
]
}