fix(renovate): move global-only gitUrl option out of repo config #12

Closed
forgejo-actions wants to merge 1 commit from fix/renovate-giturl-global-option into master

Summary

Fixes the Renovate config warning reported on the Dependency Dashboard (#11):

⚠️ WARN: Found renovate config warnings

Root cause

Reproduced locally by running renovate --dry-run=full (v43.249.5, the same version the runner uses) against this repo. The actual warning is:

The "gitUrl" option is a global option reserved only for Renovate's global configuration and cannot be configured within a repository's config file.

gitUrl is a global / self-hosted option — it lives on Renovate's self-hosted configuration docs page, not the per-repo configuration page. Placing "gitUrl": "endpoint" in the repository's renovate.json is invalid, and Renovate reports it as a config warning on every run — which is exactly what surfaced on the dashboard.

Fix

  1. renovate.json — removed the invalid "gitUrl": "endpoint" entry.
  2. .forgejo/workflows/renovate.yml — injected gitUrl where it belongs: as the global RENOVATE_GIT_URL=endpoint env var on the Run Renovate step (consistent with the other RENOVATE_* global options already passed there). The endpoint value (clone over the configured HTTP API endpoint instead of SSH) is preserved.

Verification

Ran renovate 43.249.5 --dry-run against the repo:

  • Before: WARN: Found renovate config warningsgitUrl global-option error.
  • After: no config warnings, renovate-config-validator passes, the resolved global config still contains "gitUrl": "endpoint" (via the env var), and the Forgejo workflow files are still detected/scanned.

Reference: https://docs.renovatebot.com/modules/platform/forgejo/

Closes #11

## Summary Fixes the Renovate config warning reported on the [Dependency Dashboard (#11)](https://forge.l3x.in/alex/pi-shared/issues/11): > ⚠️ WARN: Found renovate config warnings ### Root cause Reproduced locally by running `renovate --dry-run=full` (v43.249.5, the same version the runner uses) against this repo. The actual warning is: > The **"gitUrl"** option is a global option reserved only for Renovate's global configuration and cannot be configured within a repository's config file. [`gitUrl`](https://docs.renovatebot.com/self-hosted-configuration/) is a **global / self-hosted** option — it lives on Renovate's *self-hosted configuration* docs page, not the per-repo configuration page. Placing `"gitUrl": "endpoint"` in the repository's `renovate.json` is invalid, and Renovate reports it as a config warning on every run — which is exactly what surfaced on the dashboard. ### Fix 1. **`renovate.json`** — removed the invalid `"gitUrl": "endpoint"` entry. 2. **`.forgejo/workflows/renovate.yml`** — injected `gitUrl` where it belongs: as the global `RENOVATE_GIT_URL=endpoint` env var on the `Run Renovate` step (consistent with the other `RENOVATE_*` global options already passed there). The `endpoint` value (clone over the configured HTTP API endpoint instead of SSH) is preserved. ### Verification Ran `renovate 43.249.5 --dry-run` against the repo: - **Before:** `WARN: Found renovate config warnings` → `gitUrl` global-option error. - **After:** no config warnings, `renovate-config-validator` passes, the resolved global config still contains `"gitUrl": "endpoint"` (via the env var), and the Forgejo workflow files are still detected/scanned. Reference: https://docs.renovatebot.com/modules/platform/forgejo/ Closes #11
The `gitUrl` option is a global/self-hosted-only setting and cannot be
placed in a repository's renovate.json. Renovate flagged it as a config
warning ("Found renovate config warnings") on every run.

- renovate.json: remove the invalid `"gitUrl": "endpoint"` entry
- renovate.yml: supply it globally as `RENOVATE_GIT_URL=endpoint`

Verified with renovate 43.249.5 --dry-run: warning gone, validator passes,
gitUrl=endpoint still resolved globally, forgejo workflows still scanned.

Fixes #11
alex closed this pull request 2026-07-01 06:17:58 +00:00
alex deleted branch fix/renovate-giturl-global-option 2026-07-01 06:18:02 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
dependencies
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
alex/pi-shared!12
No description provided.