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 setCommon 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
- Read the action README or action.yml for required input names.
- 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
GitHub Actions "Input required and not supplied: token"Fix the GitHub Actions error "Input required and not supplied: token" caused by an action that needs a token…
GitHub Actions "Invalid type" for env or with valuesFix the GitHub Actions "Invalid type" error for env or with values caused by passing a list or mapping where…
GitHub Actions "Can't find action.yml" / invalid uses referenceFix the GitHub Actions error where uses: points to a reference that has no action.yml, a missing repo, or a m…