Interview Prep/GitHub Actions/Workflows Not Triggering & Invalid Files

`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.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files