fix(ci): self-contained workflow — drop unreachable JS actions #1
No reviewers
Labels
No labels
in-progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/treesupports!1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ci/self-contained-rewrite"
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?
What
Replaces the existing
.forgejo/workflows/ci.ymlwith a self-contained shell/container workflow that does not depend on GitHub-hosted JS actions (which fail at "Set up job" becauseactions/checkout@v4andactions/setup-python@v5cannot be downloaded from this Forgejo runner).Recipe provenance:
t_b55e19fa(proven on AuWoMe/Drift), accepted pert_a8bf9ee3fan-out. Inventory of working container images / action mirrors:t_8ef56cda,t_f96c565c.Why
Pre-rewrite runs on this repo are all
status=failureorcancelledat "Set up job" — the JS checkout step times out downloading fromgithub.combecause the runner has no network access there. The rewrite:docker.io/library/python:3.12-slim(Python 3.12 + pip pre-installed, git installed via apt)actions/checkout@v4withapt-get install -y git+git clone --depth 1from the local Forgejo mirroractions/setup-python@v5(the python:3.12-slim container already has Python + pip)pip install -r requirements.txt,pip install ruff,ruff check .Verification
Once merged, a fresh push to
mainshould run cleanly: container pulls, git clone, pip install, ruff check. Nouses:lines remain; YAML is valid.References:
t_a8bf9ee3(fan-out card),t_b55e19fa(Drift pilot),t_8ef56cda(image inventory).