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

PR shows "Expected — Waiting for status to be reported" for a required check and can never merge.

IntermediateTroubleshootingWorkflows Not Triggering & Invalid Files
Answer

Likely causes → The workflow providing the check was skipped (path filters, [skip ci], branch filters), the job name changed (matrix values or name:), or the check runs under a different name in a reusable workflow (caller / called).

Diagnose →

gh pr checks 42
gh api repos/ORG/REPO/branches/main/protection/required_status_checks --jq .contexts

Fix → Make the required check a fan-in job that always runs; update the protection context to the actual name.

Prevent → One stable required check (ci-ok), and never workflow-level path filters on it.

All GitHub Actions questions Roadmap: GitHub Actions

More on Workflows Not Triggering & Invalid Files