From e3def65fd26acf14d12538b2db8b65db2c227d49 Mon Sep 17 00:00:00 2001 From: kert Date: Thu, 29 Oct 2026 19:43:37 -0400 Subject: [PATCH] =?UTF-8?q?fix(renovate):=20githubTokenWarn=20is=20global-?= =?UTF-8?q?only=20=E2=80=94=20set=20it=20in=20the=20workflow=20env?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fe94999 put githubTokenWarn in renovate.json. Renovate rejects global-only options in a repository config ("Configuration Error"), and run 1606 then extracted dependencies but opened no branches. It now comes from RENOVATE_GITHUB_TOKEN_WARN in the workflow, and renovate.json validates in repo mode (renovate-config-validator --strict from the repo directory). I had validated with the file path as an argument, which checks it as global config, where the option is legal. --- .gitea/workflows/renovate.yml | 3 +++ renovate.json | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/renovate.yml b/.gitea/workflows/renovate.yml index 72c9645..f4b94bb 100644 --- a/.gitea/workflows/renovate.yml +++ b/.gitea/workflows/renovate.yml @@ -31,6 +31,9 @@ jobs: RENOVATE_REPOSITORIES: homelab/stack RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }} RENOVATE_BINARY_SOURCE: global + # Global-only option (a repo renovate.json may not set it). The only + # github.com deps left are ones packageRules disable on purpose. + RENOVATE_GITHUB_TOKEN_WARN: "false" # Optional. Without it, github.com lookups (github-tags/-releases # pins) share the anonymous 60/h limit, which the -full image and # fetchChangeLogs=off keep this repo well under. Add the secret (a diff --git a/renovate.json b/renovate.json index af87cd9..aa9e814 100644 --- a/renovate.json +++ b/renovate.json @@ -8,7 +8,6 @@ "prHourlyLimit": 0, "minimumReleaseAge": "7 days", "fetchChangeLogs": "off", - "githubTokenWarn": false, "ignorePaths": [ "**/node_modules/**", "**/bower_components/**",