Interview Prep/GitHub Actions/Debugging, Cost, Monorepos & Releases

Why are workflow-level `paths` filters problematic with required checks, and what is the fix?

IntermediateConceptDebugging, Cost, Monorepos & Releases
Answer

When the workflow is skipped by paths, no check is created, and a required check named test stays "Expected — Waiting for status to be reported", blocking the merge forever. Fixes: run the workflow always and decide per job (paths-filter job plus if), with a fan-in job that always reports; or make the required check a job that is never skipped. Skipped jobs report as success for required checks; skipped workflows report nothing.

All GitHub Actions questions Roadmap: GitHub Actions

More on Debugging, Cost, Monorepos & Releases