GitHub Actions

Input required and not supplied

A required secret or input is empty

Input required and not supplied. An action needed a value, usually from a repository secret, and got nothing: the secret is missing, misspelled, or not available to this workflow.

Updated

What this error means

An action needed a value, usually from a repository secret, and got nothing: the secret is missing, misspelled, or not available to this workflow.

Why it happens

An action declared a required input and the workflow passed an empty value. That usually means a repository secret is missing, misspelled, or unavailable to this workflow.

The message tools print

Error: Input required and not supplied: api-key

How to fix it

  1. Check that the secret name in Settings → Secrets and variables → Actions matches the workflow exactly.
  2. Secrets aren’t passed to workflows triggered from forks.

Check a log that shows this

Paste the failing step into the build error explainer. It matches this message, and any others in the same log, in your browser. Nothing is uploaded.

Other GitHub Actions errors

Read the whole failed ship, not the last line

When a CapWrapp ship fails, open it in History and choose Explain with AI. That reads the whole build log.

  • Free to start
  • No credit card
  • Sign in with Google or GitHub