Interview Prep/Git & GitHub/Scale, Submodules, LFS and GitHub Automation

In a monorepo, CI runs only for changed paths, but required checks then never appear for some PRs.

AdvancedScenarioScale, Submodules, LFS and GitHub Automation
Answer

Situation read → Path-filtered workflows do not run when files outside the filter change, so required checks stay pending.

What I'd do →

  1. Remove paths: filters from the workflow trigger and detect changes inside the job (for example dorny/paths-filter).
  2. Skip heavy jobs with if: conditions; skipped jobs count as passed.
  3. Add a single always-running gate job and make only that required.
  4. Use a merge queue with the same checks.

Why → A job-level skip reports a status, but a workflow that never triggered reports none.

Interview tip → This exact problem appears in nearly every monorepo migration.

All Git & GitHub questions Roadmap: Git & GitHub

More on Scale, Submodules, LFS and GitHub Automation