`error parsing called workflow ".github/workflows/deploy.yml": workflow is not reusable as it is missing a `on.workflow_call` trigger`
BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer
Likely causes → The target workflow lacks on: workflow_call, or the ref used in uses: points to a version before you added it.
Diagnose →
git show origin/main:.github/workflows/deploy.yml | yq '.on'
Fix → Add workflow_call with the inputs the caller passes; reference the right ref.
Prevent → Test reusable workflows with a caller in the same repo in CI.
More on Workflows Not Triggering & Invalid Files
You pushed a new workflow file and nothing appears in the Actions tab.Beginner`Invalid workflow file: .github/workflows/ci.yml#L14 You have an error in your yaml syntax on line 14`Beginner`The workflow is not valid. .github/workflows/ci.yml (Line: 9, Col: 5): Unexpected value 'steps'`BeginnerThe workflow runs on push to `main` but never on pull requests.BeginnerThe "Run workflow" button for `workflow_dispatch` does not appear.BeginnerA scheduled workflow stopped running weeks ago, no errors.Beginner