Skip to content
Latchkey

GitHub Actions "Required input is not set" / missing with

An action declared an input as required and you did not pass it under with:. The step fails immediately.

What this error means

The step fails at start with "Error: Required input <name> is not set" or a similar message from the action.

github-actions
Error: Required input 'path' is not set

Common causes

Missing with: block

The action needs inputs but the step has no with: section at all.

Input name typo

Passing pathh or path-to instead of the exact input key means the required input is still unset.

How to fix it

Supply the required input exactly

  1. Read the action README or action.yml for required input names.
  2. Add the with: block with the exact key and value.
.github/workflows/ci.yml
- uses: actions/upload-artifact@v4
  with:
    name: build
    path: dist/

How to prevent it

  • Copy the usage snippet from the action README.
  • Run actionlint with the action input schema when available.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →