{"slug": "a-skipped-github-required-check-counts-as-a-pass", "title": "A skipped GitHub required check counts as a pass", "summary": "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.", "body_md": "Everyone is building with AI now. Your AI wrote the code and the tests, and it cannot see the hole this post is about.\n\nGitHub 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.\n\nDocs, checked Dec 3, 2026: [Troubleshooting required status checks](https://docs.github.com/en/pull-requests/how-tos/merge-and-close-pull-requests/troubleshooting-required-status-checks)\n\nThat 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](https://github.com/heygen-com/hyperframes/pull/5182), opened by me and merged Oct 25, 2026, 8:58 PM ET. I found it with [deadgate](https://github.com/egnaro9/deadgate), a small CLI I maintain. They have not been asked to adopt the tool; the PR is the proof.\n\n```\npip install deadgate\ndeadgate .\n```\n\nExit 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.\n\ndeadgate 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.\n\nA 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](https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell) page, also checked Dec 3, 2026.\n\nHere 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:\n\n```\n[D3] .github/workflows/ci.yml::lint  exit status masked by a pipe\n        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.\n        repro: Make the command before '| tee' fail. The step still succeeds. Add 'set -o pipefail' and it fails correctly.\n\n1 workflow file(s), 1 finding(s)\n```\n\nThe same shape is already in an open PR on a widely used eval tool, [confident-ai/deepeval#3682](https://github.com/confident-ai/deepeval/pull/3682), also opened by me. That PR is not merged. I am not going to pretend it is.\n\nA few limits, stated plainly, because you will hit them:\n\n`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.\nIf you want to try it on your own repo:\n\n```\npip install deadgate\ndeadgate .\n# optional, read-only GitHub API via gh, to resolve required checks:\ndeadgate --repo OWNER/NAME .\n```\n\nSource: [github.com/egnaro9/deadgate](https://github.com/egnaro9/deadgate)", "url": "https://wpnews.pro/news/a-skipped-github-required-check-counts-as-a-pass", "canonical_source": "https://dev.to/agentdev9/a-skipped-github-required-check-counts-as-a-pass-86m", "published_at": "2026-12-03 06:41:53+00:00", "updated_at": "2026-12-03 06:46:44.889568+00:00", "lang": "en", "topics": ["developer-tools", "ai-tools"], "entities": ["deadgate", "GitHub", "HeyGen", "hyperframes", "deepeval", "PyPI"], "also_reported_by": [], "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.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/a-skipped-github-required-check-counts-as-a-pass", "markdown": "https://wpnews.pro/news/a-skipped-github-required-check-counts-as-a-pass.md", "text": "https://wpnews.pro/news/a-skipped-github-required-check-counts-as-a-pass.txt", "jsonld": "https://wpnews.pro/news/a-skipped-github-required-check-counts-as-a-pass.jsonld"}}