cd /news/developer-tools/a-skipped-github-required-check-coun… · home › topics › developer-tools › article
[ARTICLE · art-180785] src=dev.to ↗ pub= topic=developer-tools verified=true sentiment=· neutral

A skipped GitHub required check counts as a pass

A developer released deadgate 0.3.0, a CLI that scans GitHub Actions workflow files for checks that are structurally unable to fail, including required jobs that can be skipped and still report Success. Using the tool, the developer found a required "Studio: edit accuracy gate" check in HeyGen's hyperframes repo that lacked a needs.changes.result guard, and the one-line fix was merged in PR #5182 on Oct 25, 2026. The tool also flags pipeline steps that mask exit status by omitting pipefail, a pattern the developer says appears in an unmerged PR to the deepeval eval tool.

key takeaway

A GitHub required check that is skipped by a conditional still reports Success, so gate jobs need a needs.<job>.result guard or a pipefail-aware shell to actually go red.

by read3 min views10 publishedDec 3, 2026

Everyone is building with AI now. Your AI wrote the code and the tests, and it cannot see the hole this post is about.

GitHub documents it in the required-status-check troubleshooting page: a job skipped by a conditional reports "Success". Successful check statuses are success, skipped, and neutral. So a required check can be satisfied without the job running.

Docs, checked Dec 3, 2026: Troubleshooting required status checks

That is not a theoretical edge. On HeyGen's hyperframes repo (94,920 stars as of Dec 3, 2026) a required check named "Studio: edit accuracy gate" had no needs.changes.result guard. If the changes job failed, its outputs were unset, the gate job skipped, and GitHub reported Success. Six sibling required checks already carried the guard. The one-line fix landed in heygen-com/hyperframes#5182, opened by me and merged Oct 25, 2026, 8:58 PM ET. I found it with deadgate, a small CLI I maintain. They have not been asked to adopt the tool; the PR is the proof.

pip install deadgate
deadgate .

Exit code is 1 when there are findings, 0 when clean, and 2 when a workflow file could not be parsed. A file it could not read is never counted as a file with no problems. The package on PyPI is deadgate, version 0.3.0. Do not install a project named deadcheck; that is a different, unrelated package.

deadgate reads workflow files. It looks for checks that are structurally unable to go red. The sharpest class is a required job that can skip and still count as Success (detector D1). D1 is only reported with --repo OWNER/NAME, when branch protection confirms the job is actually required. Without that flag, it will not claim a merge-gate hole.

A more common class, D3, is a run: step that ends a pipeline in a filter and does not set pipefail. GitHub's default shell uses set -e only. You get -o pipefail when you specify shell: bash. Official wording is in the workflow syntax page, also checked Dec 3, 2026.

Here is real output from deadgate 0.3.0, run today on a minimal fixture I wrote (a lint job whose step is false | tee /tmp/out.log). This is not a finding in a famous repo. It is the tool's actual text, so you can see what a run looks like:

[D3] .github/workflows/ci.yml::lint  exit status masked by a pipe
        step 'false | tee /tmp/out.log' in job 'lint' ends a pipeline with 'tee' and does not set pipefail. The step's status is tee's, so a failure upstream of the pipe passes.
        repro: Make the command before '| tee' fail. The step still succeeds. Add 'set -o pipefail' and it fails correctly.

1 workflow file(s), 1 finding(s)

The same shape is already in an open PR on a widely used eval tool, confident-ai/deepeval#3682, also opened by me. That PR is not merged. I am not going to pretend it is.

A few limits, stated plainly, because you will hit them:

continue-on-error is not modelled yet. That gap is tracked in pytest || true produced 0 findings. That pattern is not reliably flagged today. If you rely on deadgate to catch every "cannot fail" construct, it will miss some. If you want to try it on your own repo:

pip install deadgate
deadgate .
deadgate --repo OWNER/NAME .

Source: github.com/egnaro9/deadgate

── more in #developer-tools 4 stories · sorted by recency
── more on @deadgate 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/a-skipped-github-req…] indexed:0 read:3min 2026-12-03 · —