Troubleshooting

Exit Code

An exit code is a numeric result returned by a process to its caller. Zero conventionally indicates success, while nonzero meanings depend on the program and shell; workflow rules determine whether the result fails a step.

Also known as: exit status

Why it matters

Process results connect shell commands to workflow success and failure decisions.

Practical example

Preserve a command's exit status when piping its output through a logging tool.

Related terms

Sources

Definition reviewed .

Start with $10 in free credits

Change the runner label in your workflow and keep the rest of your GitHub Actions setup. Runner time is billed per minute.

← Return to glossary