From 4d4be98fc6b674882a611614ebb14ecc81c571f1 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Thu, 18 Apr 2024 16:30:33 +0200 Subject: [PATCH] Better defaults --- .gitea/workflows/renovate.yaml | 3 ++- config.js | 4 +++- default.json | 5 +++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/renovate.yaml b/.gitea/workflows/renovate.yaml index 2af822f..77646de 100644 --- a/.gitea/workflows/renovate.yaml +++ b/.gitea/workflows/renovate.yaml @@ -19,4 +19,5 @@ jobs: RENOVATE_CONFIG_FILE: "config.js" GITHUB_COM_TOKEN: ${{ secrets.GH_COM_TOKEN }} RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} - RENOVATE_ONBOARDING_CONFIG: '{"$$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["config:recommended"] }' + RENOVATE_ONBOARDING_CONFIG: '{"$$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["local>renovate-bot/renovate-config"] }' + diff --git a/config.js b/config.js index a5fcb2a..b9ea1a9 100644 --- a/config.js +++ b/config.js @@ -2,8 +2,10 @@ module.exports = { "endpoint": "https://git.vbrandl.net/api/v1", "gitAuthor": "Renovate Bot ", "platform": "gitea", - "onboardingConfigFileName": "renovate.json", + "onboardingConfigFileName": "renovate.json5", "autodiscover": true, + "forkProcessing": "disabled", + "dryRun": null, "optimizeForDisabled": true, "automerge": false, }; diff --git a/default.json b/default.json index 870330e..ea42aab 100644 --- a/default.json +++ b/default.json @@ -1,7 +1,8 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["github>renovatebot/.github", ":dependencyDashboard"], - "prCreation": "immediate", + "extends": ["config:recommended"], + "semanticCommits": "enabled", + "automerge": false, "nix": { "enabled": false }