Claude Security’s sample passes merge-queue checks by skipping the scan
Original analysis: A documentation audit separates passing skips, scan attempts and failures across merge queues, drafts, Dependabot events and forks. Requiring the check does not establish that every revision was scanned.
Claude Security’s documented merge-queue setup passes its check without scanning the merge group
Requiring Claude Security’s check establishes an acceptable workflow status, not universal scan coverage. Its documented configurations include passing skips, while a failure can mean either vulnerability findings or an execution problem.
Explore the full research
Superpower DailyOriginal research
Claude Security’s sample passes merge-queue checks by skipping the scan
Listen to this story
The audio brief
About 1:19
0:001:19
Story brief
3 key points
Anthropic’s Claude Security CI sample can satisfy GitHub’s merge-queue required check without scanning the queued revision: it enables `merge_group` but retains a job condition that skips that event, and GitHub marks conditionally skipped jobs successful. Anthropic explicitly says merge-queue scanning is unsupported, so the green check is an accommodation—not security coverage. A documentation audit based on a December 1, 2026 snapshot, with no workflows executed, distinguishes this queue behavior from the sample’s other event-specific pass and failure paths.
01
A job-level skip reports success, while excluding a workflow through path, branch, or commit-message filters can leave its required check pending and block merging.
02
External pull-request branches fail at the relevant gate by default; enabling their scans permits execution but can expose model credentials to branch-controlled code.
03
The default `fail_on: high` threshold fails for CRITICAL or HIGH findings, but scan completeness and report verification can independently fail the job.
Superpower Daily’s documentation audit finds that Claude Security’s sample workflow satisfies a required merge-queue check by skipping its security job. With merge_group enabled and the sample condition retained, teams get an acceptable check status—not a scan of the queued combined revision.
Anthropic explicitly says merge-queue scanning is unsupported. Its CI guide nevertheless provides a configuration for repositories using queues: enable the queue event, then let a job-level condition skip execution. That is a documented accommodation for the queue, not evidence that Claude examined the code assembled there.
Original analysis: We compared Anthropic’s CI guide, plugin README, security policy and underlying action’s security guide with GitHub’s required-check documentation. These documents describe different layers: scan behavior, the trusted-code boundary and which check outcomes permit merging. Our sample covered ordinary pull requests—proposed code changes—drafts, same-repository Dependabot events, external branches and merge queues. We used saved evidence preserving the supplied December 1, 2026, 03:32:54.683 UTC snapshot cutoff; no workflows were executed. Source links follow main branches rather than frozen commit identifiers, so this is a bounded documentation review, not runtime validation.
How a skipped job clears the queue check
The mechanism has two layers. The workflow’s triggers decide which events start it; the security job’s condition decides whether that job runs. Anthropic’s sample tells queue users to enable merge_group, while retaining a condition that excludes that same event from the security job.
GitHub’s required-check documentation supplies the other half: a job skipped by a condition reports success. That differs from a workflow excluded by path, branch or commit-message filters, whose associated required checks remain pending and block merging. The location of the skip therefore changes its merge consequence.
Drafts, bots and forks take different paths
The rest of the sample does not follow one universal skip rule. Some events pass without scanning; external branches instead encounter a documented default failure. Entering the scan path is a third outcome, not proof of completion: credentials, actor eligibility and other requirements can still stop the work.
Editorial illustration for Claude Security’s sample passes merge-queue checks by skipping the scan.
Documented outcomes outside the merge queue
Eligible non-draft pull request: enters the scan path. A completed scan fails by default on CRITICAL or HIGH findings. That failure blocks merging only if administrators require the first job, claude-security.
Trusted-author draft: passes without a scan by default. Setting scan_drafts to "true" enables scanning; keep ready_for_review among the triggers so marking a draft ready starts its review.
Same-repository Dependabot event: skips the entire job when github.actor is dependabot[bot] and the head repository matches the current repository. Adding allowed_bots alone cannot override that job-level condition.
External head branch, including a fork: fails by default at the relevant gate. Setting dangerously_scan_external_branches to true permits proceeding, not guaranteed completion. A custom condition that skips forks changes the outcome to a passing skip.
Those distinctions depend on identity as well as branch location. Dependabot’s exclusion uses the event actor, not simply the pull request’s author. Drafts have an exception: when the author is not reported as having write access, they proceed toward scanning and fail if the event actor lacks write access.
Anthropic discourages the external-branch opt-in. Its preferred route is for someone with write access to read the change and open a pull request from a branch inside the repository. An external submitter could otherwise steer a scan into running branch code and spending the team’s model credential.
One source comparison is especially important. The underlying claude-code-action ordinarily skips forks successfully without starting Claude, unless fork access is enabled; credential-bearing events can fail earlier access checks. Its security guide describes that separate interface. It does not replace the Security plugin’s documented default-failure rule.
A finding threshold is not a completion switch
Once scanning begins, fail_on controls which findings fail the job. The default, high, includes any CRITICAL or HIGH finding; medium adds MEDIUM findings. The confident-high setting narrows blocking to high-confidence CRITICAL or HIGH findings, allowing a real severe finding with lower confidence to pass.
The never setting removes finding-based failure, not every failure condition. Failed scans, scans outside auto mode and insufficient scan effort still fail. So does a missing complete report, except when the pull request changes no files. Unverified reports or scans that lose agents fail under every finding threshold except never.
A passing job still does not mean comprehensive inspection. Anthropic says a scan of a sparse checkout, or one that skips a top-level folder, can pass. Its README also says repeated scans of identical code can produce different findings. Completion, coverage and vulnerability detection remain separate questions.
Read the report alongside the check
Status replacement needs separate care. Anthropic warns that manual runs can turn a required check green after a failed scan. GitHub limits that assertion: workflow_dispatch job checks do not satisfy a pull-request branch-ruleset requirement, even on the same head commit. The interaction remains configuration-dependent and untested here.
With merge_group enabled and the sample condition retained, merge-queue execution skips the security job and satisfies its required check without scanning the merge group. Without merge_group, GitHub says the required queue check is not reported and the merge fails.
Requiring this check establishes acceptable status, not universal scan coverage or vulnerability-free code: documented skips pass, scans are nondeterministic, and verdicts are best-effort. The trust model also assumes everyone who can push is trusted.
The sample skips the entire security job when github.actor is dependabot[bot] and the head repository is the current repository. That skip passes without scanning; adding allowed_bots alone cannot override the job-level condition.
Reader comments
Newest comments first. Replies stay oldest first.