The Prompt BakeryTemplates and prompts

Fix · GitHub and Git

GitHub Actions workflow fails (red cross)

Not checked against the vendor's current screens

What you may see

  • A red cross appears next to my commit
  • It says Process completed with exit code 1

Most likely cause

One step of the automatic job fails on GitHub's computer: a different Node version, a missing secret, or a test that fails.

Check first (about two minutes)

  1. Open the failed run and click the first red step: the first error is the real one.
  2. Check whether the same command passes on your own computer.

The fix prompt

What you type here never leaves your browser. The search runs on this page, and nothing is sent to a server or to an AI.

Kept only in this browser, on this device. Keys and passwords are removed before anything is saved.

Prompt language

Paste it into Claude, ChatGPT, Gemini or Cursor, then follow what it says.

After you tried it, did it work?

Steps

  1. Ask me to paste the first error lines of the failing step (without secrets).
  2. Compare the Node version and the commands in the workflow file (.github/workflows) with my machine.
  3. Check that every secret the workflow uses is defined in the repository's Actions secrets settings (by name only; never ask for the value).
  4. Fix the smallest thing, push, and watch the run again.

Do not do this

  • Do not print secrets in the workflow log to debug.
  • Do not delete the workflow or its tests to get a green tick.

Related

Try another entry

How can we help?

What do you need?
Your email, so we can reply (optional)Only enter your own email. We reply there.