Dependency Dashboard #11
Labels
No labels
dependencies
No milestone
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/pi-shared#11
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
Repository problems
Renovate tried to run on this repository, but found these problems.
This repository currently has no open or pending branches.
Detected dependencies
bun
github-actions
/pi check https://forge.l3x.in/alex/pi-shared/actions/runs/16/jobs/0/attempt/1 and use https://docs.renovatebot.com/modules/platform/forgejo/ as reference, fix the problems in a new PR
gitUrloption out of repo config #12I'll investigate the repository structure and the Renovate configuration to understand the problems.Now let me look at the Renovate config and other relevant files.Let me try to access the Forgejo run logs and check the Renovate documentation/schema for config warnings.I can't access the Forgejo instance directly. Let me analyze the Renovate schema to identify the config warnings.The default github-actions manager already covers
.forgejo/workflows/. Let me run Renovate's config validator against the actual config to see exactly what warnings it reports.renovate-config-validatoris bundled inside therenovatepackage. Let me invoke it directly.The config validator passes (it only checks hard errors). The runtime "config warnings" surface during an actual run. Let me consult the Renovate Forgejo platform docs that the user referenced, as it likely documents the specific gotchas.The docs match Renovate 43.249.5 (same as installed). The validator only catches hard errors, not runtime "config warnings". Let me run Renovate against this local repo in dry-run mode to reproduce the exact warnings.Reproduced it. The warning is about thegithub-actionsconfig block. Let me get the full warning text.Found the actual warning. It is:The
gitUrl: "endpoint"inrenovate.jsonis the culprit —gitUrlis a global-only option and must not live in the repo config file. Let me confirm this in the schema and find the correct env-var name to relocate it.Let me confirm thegitUrloption details and the correct environment-variable form from Renovate's configuration docs.Confirmed:gitUrlis a self-hosted/global-only option (it appears on the self-hosted-configuration page, not repo config). The env-var form isRENOVATE_GIT_URL. Let me verify that removing it fromrenovate.jsonand settingRENOVATE_GIT_URL=endpointclears the warning.Now I understand the mechanism fully:RENOVATE_CONFIG_FILEis the global config, whilerenovate.jsonin the repo is the repo config (which still hasgitUrl). TheRENOVATE_GIT_URL=endpointenv var IS being recognized (it shows"gitUrl": "endpoint"in the resolved global config), but the repo file still carries the invalid option.The fix is clear: remove
gitUrlfrom the reporenovate.jsonand relocate it to the global config viaRENOVATE_GIT_URLin the workflow. Let me apply both edits.Now let me verify the warning is gone by running Renovate against the actual (now-fixed) repo config, withgitUrlsupplied globally via the env var.The config warning is gone (grep returned no matches). Let me confirm the run still completes cleanly and thatgitUrl=endpointis correctly resolved from the global env, then review the final workflow file.Everything is verified:gitUrl: endpointresolves correctly from the global env, no config warning, and the run completes successfully. Let me review the final diff and create the PR.The PR tool targets GitHub but this repo is on Forgejo. Let me check the remote and push the branch, then create the PR via the Forgejo API.Token works. Let me create a branch, commit the fix, push, and open the PR via the Forgejo API.Branch pushed. Now let me create the PR via the Forgejo API.PR created: #12Summary
I couldn't reach the Forgejo run page directly (CI runner has no external network), so I reproduced the failure locally by running the same Renovate version the runner uses (43.249.5) in
--dry-run=fullagainst the repo. That surfaced the exact config warning behind the dashboard's "⚠️ WARN: Found renovate config warnings":Root cause
gitUrlis a global / self-hosted-only option (it's documented on Renovate's self-hosted configuration page, not the per-repo page). The repo'srenovate.jsonhad"gitUrl": "endpoint", which is invalid there and gets flagged as a config warning on every run.Fix (PR #12)
renovate.json— removed the invalid"gitUrl": "endpoint"entry..forgejo/workflows/renovate.yml— moved it to where it belongs: the globalRENOVATE_GIT_URL=endpointenv var on theRun Renovatestep (alongside the otherRENOVATE_*globals). Theendpointbehavior (clone over the HTTP API endpoint instead of SSH) is preserved.Verified
renovate-config-validatorpasses.renovate --dry-runafter the fix: no config warnings, the resolved global config still contains"gitUrl": "endpoint"(now from the env var), and the Forgejo workflow files are still detected/scanned.Closes #11.
View action run | Model: zai/glm-5.2 (thinking: xhigh) | Time: 13m 6s | Tokens: 457.9K | Pi SDK v0.80.3 | Action v2.25.0-develop (develop @ 0e171ae)
Adding forgejo-wide renovate bot, this is stale now