GitHub Actions "Can't find action.yml" / invalid uses reference
The uses: value does not resolve to a valid action. The repo, path, or ref is wrong, or the target has no action.yml.
What this error means
The step fails to start with a message that the action cannot be found or has no action.yml at the given path.
github-actions
Error: Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/_actions/owner/repo/v1'. Did you forget to run actions/checkout before running your local action?Common causes
Wrong owner, repo, or ref
A typo in owner/repo@ref, or a tag that does not exist, fails to resolve.
Local action without a path or checkout
A local action needs uses: ./path and a prior actions/checkout so the files exist on disk.
How to fix it
Point uses at a valid reference
- Use owner/repo@ref with an existing tag, branch, or SHA.
- For local actions, check out the repo first and use a relative path.
.github/workflows/ci.yml
- uses: actions/checkout@v4
- uses: ./.github/actions/buildHow to prevent it
- Pin actions to a full commit SHA you have verified exists.
- Run actionlint, which validates uses references.
Related guides
GitHub Actions reusable workflow uses must be a valid pinned referenceFix the GitHub Actions error where a reusable workflow uses value is not a valid owner/repo/.github/workflows…
GitHub Actions "Required input is not set" / missing withFix the GitHub Actions "Required input is not set" error caused by calling an action without supplying a with…
GitHub Actions "Unexpected value" at a specific workflow lineFix the GitHub Actions "The workflow is not valid ... (Line: N): Unexpected value" error caused by a key in t…