CI Failure: Add Forgejo CI workflows and README #1
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?
CI Failure Analysis
Run URL: https://git.brads.house/brad/bluesky-dicebot/actions/runs/1
Commit:
c073b6c061Workflow: Add Forgejo CI workflows and README
Branch: main
Root Cause
The workflow uses
python:3.12-bookwormas the container image, butactions/checkout@v4(a GitHub Action) requires Node.js to execute. The Python container does not havenodein its PATH.Error Log
What Failed
Resolution
Change the container image in
.forgejo/workflows/*.ymlfrompython:3.12-bookwormto a Node.js-compatible image:Option 1: Use Node.js image
Option 2: Use an image with both Python and Node.js
Then install Python inside the container if needed:
@agent
on it
Good analysis. The fix is straightforward — the Python container needs Node.js for the checkout action.
Recommended fix: Use a Node.js base image and install Python dependencies:
This gives you both Node.js (for actions) and Python (for your code).
Want me to push the fix? I can update the workflow files and test them.