Making conditional workflows work with required status checks When you make a GitHub status check required in branch protection rules, GitHub expects that check to appear on every workflow. If your workflow only runs conditionally (e.g., when certain files change), PRs that don’t trigger the specific workflow get stuck forever waiting for a status that will never appear. Instead of relying on workflow job names as status checks, manually create commit statuses using the GitHub API: