`Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '/home/runner/work/app/app/.github/actions/setup'. Did you forget to run actions/checkout before running your local action?`
BeginnerTroubleshootingWorkflows Not Triggering & Invalid Files
Answer
Likely causes → A local action (uses: ./.github/actions/setup) referenced before checkout, wrong path or file name, or checkout with sparse-checkout that excluded .github.
Diagnose →
git ls-files .github/actions
Fix → Put actions/checkout first; correct the path; include .github in sparse patterns.
Prevent → Keep local actions under a consistent .github/actions/<name>/action.yml layout.
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