ci: replace Dependabot/.github with self-hosted Renovate on Forgejo #2
No reviewers
Labels
No labels
dependencies
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
alex/pi-shared!2
Loading…
Reference in a new issue
No description provided.
Delete branch "pi/issue1-renovate"
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?
Summary
Implements Option A from the feasibility report in #1: replace the now-inert GitHub-side automation (
dependabot.yml+ the redundant.github/workflows/pi.yml) with Renovate, self-hosted as a Forgejo Action. This is a replacement, not a port — Forgejo ignores.github/dependabot.yml, so without this the load-bearing@earendil-works/pi-coding-agentbumps would silently stop.Changes
renovate.json.forgejo/workflows/renovate.yml.github/dependabot.yml.github/workflows/pi.yml.forgejo/workflows/pi.yml).github/What the Renovate config does
npmmanager (enabled by default) → keeps@earendil-works/pi-coding-agentfresh inpackage.json/bun.lock(the repo's core purpose).github-actionsmanager with a customfileMatchfor\.forgejo/workflows/[^/]+\.ya?ml$→ also bumpsactions/checkout@v7in the Forgejo workflows (Dependabot could never see these).dependencyDashboard: true→ a control issue to review/trigger updates before they land (useful for the initial rollout).before 6am on Monday) — matches the old Dependabot cadence.shaftoe/pi-coding-agent-action— it's intentionally pinned to the movingdevelopbranch.⚠️ Required setup (ops / repo settings)
The workflow won't run until these are in place:
RENOVATE_TOKEN(secret, required) — a Forgejo PAT withrepository,issueandworkflowwrite scopes, so Renovate can open branches/PRs and touch workflow files.MY_FORGEJO_PUBLIC_URL(repo/owner var, already used by the pi workflow) — must be the base URL without a trailing slash (the workflow appends/api/v1/).GITHUB_COM_TOKEN(secret, recommended) — a classic GitHub PAT to avoid github.com rate limits when Renovate resolves release metadata foractions/checkout, the Renovate action, and npm packages.Verification checklist (per the report)
workflow_dispatch) completes green.@earendil-works/pi-coding-agentbump PR lands — only then is the regression risk from dropping Dependabot fully closed.Closes #1.