CI has never run: the job image has no node, and the release job is red on every push #2
Labels
No labels
bug
documentation
enhancement
security
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Postulo/postulo-apprise#2
Loading…
Add table
Add a link
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?
Every run this repository has had is a failure, and none of them reached a test.
The checkout dies before the workflow starts
.forgejo/workflows/ci.ymlruns the job inpython:3.14-slim-bookworm. Forgejo runsactions/checkoutas JavaScript inside the job container, and that image has nonode, so the run ends at the checkout step withexec: "node": executable file not found in $PATH. Not one step of the workflow after it has ever run: nothing in this repository has ever been linted or tested by CI, and the compile step corrected in #1 was never reached either.Fix: run the job in
node:22-bookworm. uv brings its own Python, so the image only has to carry Node, git and curl, and Postulo's own CI is Node for this exact reason. postulo-imap#1 is the same fault in the same words, andpostulo-imaphas been green since it was fixed.The release job is red on every ordinary push
The second job in the same workflow is gated on a tag with
if: startsWith(github.ref, 'refs/tags/v'), and a push tomainreports a failedreleasebeside its tests anyway — run 4 onmainis one. Whatever Forgejo makes of the condition, a red mark for a job that was never meant to run on a branch is the same red as a real failure; the same arrangement withneeds:ends the whole run with'runs-on' key not defined in CI/test.Fix: move the gate into its own workflow, triggered by
tags: ["v*"]and by nothing else. A workflow an ordinary push does not trigger cannot be red on one.