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