GitHub Actions: error parsing called workflow ".github/workflows/ci.yml" -> "org/repo/.github/workflows/build.yml@main": workflow was not found
A job calls a reusable workflow (uses: org/repo/.github/workflows/x.yml@ref) that GitHub cannot find or is not allowed to use.
error parsing called workflowworkflow was not foundinvalid value workflow referenceerror parsing called workflow ".github/workflowsworkflow is not reusable Meaning
The path, repository, ref, visibility and access settings must all match. The called file must be under .github/workflows/ and have on: workflow_call. Private repositories must allow access from other repositories (Settings → Actions → General → Access). Local calls use ./.github/workflows/x.yml without @ref.
Common causes
- Wrong path, repository or ref (branch/tag/SHA) in
uses: - Called workflow lacks
on: workflow_call - Private repository not shared with other repositories
- Local reusable workflow written with
@main - Called workflow file YAML invalid
⚡ Quick fix
- Open the exact path and ref in the browser to verify
- Add
on: workflow_call:(with inputs/secrets) to the called file - Enable access for repositories in the called repo's Actions settings
Detailed fix by platform
GitHub Actions
- Same repo:
uses: ./.github/workflows/build.yml - Other repo:
uses: org/shared/.github/workflows/build.yml@v1withsecrets: inherit
Code examples
Caller and callee
# called workflow: .github/workflows/build.yml
on:
workflow_call:
inputs: { node: { type: string, default: '20' } }
# caller
jobs:
build:
uses: ./.github/workflows/build.yml
with: { node: '22' }How to diagnose
- Reference — Path, repo and ref correct?
- Trigger — workflow_call present?
- Access — Repo allows external callers?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- API rate limit exceeded GitHub Actions: HttpError: API rate limit exceeded for installation ID 123456 / secondary rate limit
- Cache not found / Unable to reserve cache GitHub Actions: Cache not found for input keys: npm-Linux-abc123 / Failed to save: Unable to reserve cache with key, another job may be creating this cache
- Cannot find orb CircleCI: Cannot find orb 'circleci/node@9.9.9'. Check the namespace and version exist
Most viewed in CI/CD
- The process '/usr/bin/git' failed with exit code 128 GitHub Actions: Error: The process '/usr/bin/git' failed with exit code 128
- This job is stuck because you don't have any active runners GitLab CI: This job is stuck because you don't have any active runners online or available with any of these tags assigned to them
- Resource not accessible by integration GitHub Actions: Error: Resource not accessible by integration (403)
Other ways to find it
Where this error sits
Origin: Build & delivery. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Oct 2026