Renovate setup
All checks were successful
renovate / renovate (push) Successful in 51s

This commit is contained in:
Julien Valverdé
2025-09-02 03:44:51 +02:00
commit 26fbff8cf3
2 changed files with 36 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
name: renovate
on:
workflow_dispatch:
branches:
- master
schedule:
- cron: "0 12 * * *"
push:
branches:
- master
jobs:
renovate:
runs-on: ubuntu-latest
container: ghcr.io/renovatebot/renovate:latest
steps:
- uses: actions/checkout@v4
- run: renovate
env:
RENOVATE_CONFIG_FILE: ${{ gitea.workspace }}/config.js
LOG_LEVEL: debug
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}

13
config.js Normal file
View File

@@ -0,0 +1,13 @@
module.exports = {
platform: "gitea",
endpoint: "https://git.valverde.cloud/api/v1/",
gitAuthor: "Renovate Bot <renovate-bot@valverde.cloud>",
username: "renovate-bot",
autodiscover: true,
onboardingConfig: {
$schema: "https://docs.renovatebot.com/renovate-schema.json",
extends: ["config:recommended"],
},
optimizeForDisabled: true,
persistRepoData: true,
}