GitHub Required Checks Can Pass When a Job Is Skipped, Exposing a Merge-Gate Gap
GitHub's documentation states that a job skipped by a conditional reports Success, and that skipped counts as a passing status for required checks. A developer found this on HeyGen's hyperframes repository, where a required gate job lacked a guard and passed after an upstream job failed, and the fix was merged in October 2026. The developer built deadgate, a command-line tool that scans workflow files for checks that cannot turn red, and it flags such cases only when branch protection confirms a job is required. The tool also catches pipelines whose failures are masked by a pipe unless pipefail is set, though its maintainer reports a 36.1% false-positive rate for that check. The tool has known gaps, including limited handling of continue-on-error and patterns like pytest || true, and it is distributed only as a CLI with no official GitHub Action.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in