Private repos without GitHub Actions
Updated 2026-11-27
Read https://www.ghosty.studio/en/docs/factory/private-repos.md and, if this repo is private, add ci, deploy and deploy_check to .ghosty/dev.md with the repo's real commands.
In a private repo, GitHub Actions costs minutes and can switch off at once (for example, when an account payment fails: jobs stop starting and everything stays red). So in a private repo no step of ghosty-dev or Ghosty uses Actions. In a public repo nothing changes: Actions is free there.
What runs where
The gate uses the same rules either way: valid evidence on the task, a clean review of the commit («Ghosty Review»
or another reviewer from .github/ghosty-dev/config.json) and a preview that builds. It re-evaluates on its own when the
PR is opened or updated, when its description changes, when someone comments on or edits the task it closes (evidence,
confirmations) and when the review or the preview finishes. If a - [~] criterion awaits your verification, the check
stays in progress with «Falta tu verificación: …» until you confirm it.
To run it again by hand: ghosty-dev does it on its own when it publishes evidence or confirms. Through the API:
neutral = it passes, but the person's verification is missing. On a public repo it answers 409: its gate is the Action.
The .ghosty/dev.md keys
They go in the frontmatter of .ghosty/dev.md (or .ghosty/factory.md), on the main branch:
ci:— a list of shell commands. They run in order, at the repo root, inside the commit's preview box, after install (with the preview's same.envandCI=1). It stops at the first failure. Up to 10 commands and 15 min each. The result is the «Ghosty · CI» check with the tail of the output (without your variables' values). It counts as CI for the merge. One line works too:ci: [npm test, npm run typecheck]. If the preview doesn't build, «Ghosty · CI» is neutral and «Ghosty · Preview» is what blocks.deploy:— the command that ships to production.ghosty-dev deployruns it in your local clone (clean tree, main branch up to date).ghosty-dev mergeruns it on its own after merging.deploy_check:— optional: a URL that must answer 200 after the deploy for it to count as good.
The deploy result is recorded in the log (a note on the task) and on the card: In production, Deploy failed or,
if nobody has run it yet, Pending: run ghosty-dev deploy in your terminal (a merge done from the cloud can't deploy
for you: the deploy uses your local credentials).
If your private repo already had the ghosty-dev workflows
ghosty-dev init no longer writes evidence-gate.yml or ghosty-checks.yml in a private repo, and ghosty-dev doctor
warns if it still has them. You can delete them: Ghosty publishes the gate under the same name, so a branch protection
that requires ghosty-dev/evidencia keeps working.
See also , to run full workflows on your own boxes.