Skip to content
Projects

About

Run your GitHub Actions workflows on your machine, then re-run from the step that broke. For people and coding agents.

Developer Tools

How these counts are measured

Measured star growth

in 24h
Collecting history
in 7 days
Collecting history
in 15 days
Collecting history
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

greenci

crates.io npm CI License

Run your GitHub Actions workflows on your machine. When a step fails, fix it and re-run from that step.

No more pushing "fix ci" and waiting ten minutes. For people and for coding agents.

greenci runs a workflow, a step fails, and after the fix greenci rerun continues from that step

Install

cargo install greenci

Needs git. JavaScript actions need node. Linux jobs need Docker on macOS, and Docker or WSL on Windows.

Use

greenci run                 # what a push of this branch would start
greenci run ci.yml -j test  # one workflow, one job
greenci rerun               # after a fix: continue from the failed step
greenci exec -- cargo test  # a command inside the failed step
greenci logs                # the log of the steps that failed
greenci hook install        # stop a git push when CI fails locally

Also: list, check, status, shell, runs, clean, doctor. No config file; nothing is written in your repository.

Why

  • Re-run from the step that broke. Same workspace, your new code, incremental build.
  • Tests the code you have. HEAD plus uncommitted changes, without touching your index.
  • Does not pretend. A job that needs another OS is N/A, and the exit code is not 0 if nothing ran.
  • Real actions. Composite, JavaScript and Docker actions run as they are; reusable workflows, matrices, services and containers work.
  • Safe by default. Only what a push of this branch would trigger runs, so a release workflow never starts by accident.

Coding agents

greenci run --json ends with a summary: for each failure the step, exit code, workflow line and the log lines that explain it.

greenci mcp serves the same operations over MCP:

{ "mcpServers": { "greenci": { "command": "greenci", "args": ["mcp"] } } }

Claude Code plugin: /plugin marketplace add EL4CTEO/greenci.

Where jobs run

runs-on Linux macOS Windows
ubuntu-* host Docker Docker or WSL
macos-* N/A host N/A
windows-* N/A N/A host

Host means for real: steps run on your machine like on a self-hosted runner, and an action written for a throwaway runner treats yours as one. --docker puts Linux jobs in containers; --host forces any job onto this machine.

Limits

  • checkout, cache and the artifact actions are local versions of the real ones.
  • Actions that use GitHub's cache service (rust-cache, setup-node with cache:) only cache in Docker jobs. On the host they would also delete what they cached from your home.
  • permissions, concurrency, environments and OIDC are ignored.
  • rerun skips steps that passed: finish with a full greenci run.

Exit codes: 0 passed, 1 failed, 2 usage or workflow error, 3 nothing could run here.

License

Apache-2.0

Explore related projects

Loading…