Bundles and checks
What each bundle checks, what fails a build, and which plans include it.
A bundle chooses which checks run. Set it with the bundle input on GitHub or
QUALITYGATE_BUNDLE on GitLab and Bitbucket. The default is a11y.
Every check reports findings on the same four severities: critical, serious, moderate, and minor. The gate counts critical and serious findings; moderate and minor ones are reported but never fail a build. Each check decides what is serious enough to gate, as described below.
Overview
| Bundle | Checks | Plans |
|---|---|---|
a11y | Accessibility with axe-core’s default rules | All plans |
ada | Accessibility limited to WCAG 2.0, 2.1, and 2.2 level A and AA | Paid |
seo | On-page SEO signals | Paid |
security | Security response headers | Paid |
links | Links on the page | Paid |
full | a11y, seo, security, and links in one page load | Paid |
full-runtime | full plus browser runtime errors, still one page load | Paid |
perf | Lighthouse performance, median of three mobile loads | Paid |
geo | AI search readiness | Paid |
seo-deep | A crawl of up to 25 pages of the site | Paid |
secrets-exposure | Server-side credentials exposed to the browser | Paid |
Requesting a bundle your plan does not include is refused with
bundle_not_allowed.
Bundle groups
Groups help you choose checks; they are not extra executable bundles or paid add-ons.
- Accessibility:
a11y,ada. - Release quality:
seo,security,links,full,full-runtime,secrets-exposure. - Performance and search visibility:
perf,geo,seo-deep.
Developer, Team and Agency all include every bundle. Free includes a11y.
See Pricing and packages for scan and project limits.
a11y and ada
Runs axe-core in the loaded page.
Findings keep axe’s own impact levels, so a missing image alt is critical and
insufficient color contrast is serious. Each finding names the rule, the CSS
selector of the element, and a link explaining the fix.
ada runs the same engine with only the WCAG 2.x A and AA rules, which is the
set most accessibility requirements refer to. Neither bundle is a legal or
conformance assessment.
seo
Reads what the scanned page declares, after redirects: title, meta
description, canonical link, h1, viewport, robots directives (in the markup
and in the X-Robots-Tag header), hreflang alternates, and Open Graph tags.
- Gates on: serious problems such as a missing title,
h1, or viewport. - Reported only:
- a
noindexdirective, because previews often set it on purpose; - a canonical URL that points to another page. Only the path is compared, so a preview whose canonical names the same page on production is fine;
- a title that repeats a segment, such as
Sofas | Brand | Brand; - hreflang problems: an invalid code, a set that leaves out the page itself, and alternates that do not return 200, redirect, or do not link back. Up to 20 alternates are requested. A link back counts when it names this page’s path on any host, because a preview’s alternates usually point to production.
- a
The scan details add one line on what the page declares, for example
SEO: title "Sofas | Brand" (13 characters) · meta description 142 characters · 1 h1 · lang de · canonical https://shop.example.com/de/ · robots: indexable · 6 hreflang alternates.
The lang attribute is shown there but reported as a finding by the a11y
check, so a bundle that runs both counts it once.
security
Reads the response headers of the final page after redirects:
Content-Security-Policy, framing protection, X-Content-Type-Options,
Strict-Transport-Security, Referrer-Policy, and Permissions-Policy.
- Gates on: a page served over plain HTTP, a missing
X-Content-Type-Options: nosniff, and missing framing protection. Each is a one-line fix in most frameworks. A server on the runner itself (localhost,127.0.0.1,::1) is not held to HTTPS, since its traffic never leaves the machine; its headers are still checked. - Reported only: a missing Content-Security-Policy or HSTS header. A CSP is real work to adopt, and HSTS is usually set at the edge, where a preview differs from production.
The report also lists the security headers the page does send, such as HSTS,
COOP, and X-Frame-Options, so a pass shows what was checked.
For dependency advisories, see the repository security pilot in the GitHub Actions or Bitbucket Pipelines guide.
How the CSP is read
QualityGate follows CSP Level 3, the way current browsers do:
- Scripts are governed by
script-src.default-srccounts only when there is noscript-src. - With a nonce or hash in
script-src, browsers ignore'unsafe-inline'. It is then a fallback for very old browsers and is not reported. Without a nonce or hash,'unsafe-inline'is reported. - With
'strict-dynamic', browsers also ignore host allowlists and'self'. The report says which tokens are ignored. 'unsafe-eval'is always reported: it letseval()run strings as code.- The finding names the directive and the token, for example
script-src allows 'unsafe-eval'. Content-Security-Policy-Report-Onlyis not enforced. A page with only a report-only policy is reported as having no enforced CSP, and itsframe-ancestorsdoes not count as framing protection.
Run this bundle against a real deployment, since a local server does not carry your host’s headers.
links
Requests every <a href> on the scanned page, at most 100 distinct links, 8 at
a time. It does not follow links further, so it never turns into a crawler.
- Gates on: links to your own site that return an error status or cannot be requested.
- Reported only: broken external links, which no pull request can fix, and
links whose server answers automated clients with
401,403,405, or429, marked as unverified.
full
Runs a11y, seo, security, and links against one page load, so it costs
one run and one navigation rather than four. The report adds a findings-by-check
table and labels each finding with its check. Severity counts are summed across
checks, so the run still has one verdict.
full does not include perf, geo, seo-deep or secrets-exposure.
Each separate URL/bundle scan is another run.
full-runtime
Everything in full, plus what the browser reported while the page loaded. It
is still one page load and one run. Runtime errors are a separate bundle so
that full behaves exactly as before.
| Found while loading | Severity |
|---|---|
| An uncaught exception or unhandled rejection | serious |
| A script or stylesheet that failed (4xx, 5xx, or a network error) | serious |
| An image or font that failed | moderate |
A console.error message | minor |
Failed requests are grouped by their first two path segments, so 17 thumbnails
from one image resizer read as one finding:
17 image requests matching /cdn-cgi/image/* failed with HTTP 404. Cancelled
requests are not reported, and Chromium’s duplicate “Failed to load resource”
console message is dropped because the request finding already covers it.
Ignoring known environment differences
A test host often lacks something production has, such as a CDN image resizer.
List such requests or messages in QUALITYGATE_IGNORE, one per line or
comma separated:
QUALITYGATE_IGNORE: |
/cdn-cgi/image/*
https://*.hotjar.com/*
/ResizeObserver loop/
- A glob such as
/cdn-cgi/image/*must match the whole request URL or its path and query. For redirected requests, QualityGate checks the original URL, every redirect hop, and the final URL. Use*/cdn-cgi/image/*to match the directory anywhere in the path.*matches any characters, including/. /pattern/flagsis a regular expression, searched anywhere in the URL or the message. Put a regular expression that contains a comma on its own line.rule:robots-noindexignores that rule on all pages.rule:scrollable-region-focusable@/de-de-eur/sitzbankescopes it to one page. For runtime rules the scope matches the resource request, sorule:failed-script-request@consent.cookiefirst.com/*scopes the ignore to that host. Rule scopes also accept a full URL or path and query.- Lines starting with
#are comments. At most 50 patterns.
Bare URL and message patterns apply to runtime errors. Rule ignores apply to
any check and exclude matching findings from the gate. The report shows which
patterns matched and lists unused entries. Only matching rule IDs are sent
for checks analyzed on the server. On GitHub, pass the same patterns as ignore.
perf
Runs Lighthouse against the page three times with simulated mobile throttling, the profile PageSpeed Insights uses, and keeps the median run. The comment and run history show Lighthouse’s performance score.
- Gates on: a core metric in Lighthouse’s poor range (First Contentful Paint, Largest Contentful Paint, Total Blocking Time, Cumulative Layout Shift, or Speed Index).
- Reported only: metrics that need improvement, and failing Lighthouse insights as advice.
perf adds roughly 15 to 30 seconds and is not part of full. On GitHub, the
first perf run in a job installs Lighthouse with npm, which every
GitHub-hosted runner has. The GitLab runner and Bitbucket pipe images ship the
same pinned Lighthouse.
perf cannot scan a password-protected preview: Lighthouse would send the
preview’s credentials to every third-party origin the page loads. Scan an
unprotected preview or production instead.
Budgets (experimental)
QUALITYGATE_BUDGETS on GitLab and Bitbucket, or budgets on GitHub, sets your own limits for the
median run. Each one exceeded is a serious finding, so it fails the default
gate:
QUALITYGATE_BUNDLE: perf
QUALITYGATE_BUDGETS: lcp=2500,cls=0.1,tbt=200
QUALITYGATE_PERF_FORM_FACTOR: both
| Budget | Metric | Unit |
|---|---|---|
lcp | Largest Contentful Paint | milliseconds |
cls | Cumulative Layout Shift | unitless |
tbt | Total Blocking Time, the lab stand-in for INP | milliseconds |
fcp | First Contentful Paint | milliseconds |
si | Speed Index | milliseconds |
score | Lighthouse performance score, the lowest accepted | 0 to 100 |
QUALITYGATE_PERF_FORM_FACTOR (perf_form_factor on GitHub) is mobile (the
default), desktop, or both.
With both, each preset runs three times, every finding names its preset, and
the score shown is the lower of the two.
Budgets compare lab values: one page, a simulated device and network, no
real visitors. They catch a regression a deploy introduces, such as layout
shift jumping to 0.4 or a long script task, but they are not your Core Web
Vitals. Real visitors on real devices can measure better or worse, and INP in
particular can only be measured in the field. Both inputs are refused for any
bundle other than perf, so a budget never silently goes unchecked.
geo
Checks how ready the page is for AI search and answer engines:
- a missing or malformed
/llms.txt; - whether
robots.txtblocks GPTBot, OAI-SearchBot, ClaudeBot, Claude-SearchBot, PerplexityBot, or Google-Extended from the page (reported, never gating, since some sites block them on purpose); - JSON-LD structured data completeness;
- a citability score: the share of substantial passages an AI answer could quote as they stand.
Gates on: JSON-LD that is not valid JSON.
These are deterministic readiness checks, not guaranteed AI citations or rankings.
seo-deep
Crawls your site from the scanned page through the scanning browser, so links rendered by JavaScript count. It stays on the same origin, goes up to 3 clicks deep and 25 pages, and reads the sitemap to find orphan pages. It checks broken internal links, canonical and hreflang correctness, JSON-LD, duplicate titles, orphan pages, and pages buried too deep.
Gates on: internal links to error pages, broken canonicals, and invalid JSON-LD.
The crawl ignores robots.txt disallow rules, because it inspects your own
deployment at your request and previews usually disallow everything. A crawl
that reaches a limit says so in the report.
For geo and seo-deep, the runner collects page text and structured data and
uploads them. QualityGate analyses them in memory and stores only the findings.
secrets-exposure
Looks for credentials that must never reach a browser, such as Stripe secret keys, AWS access keys, private keys, and GitHub, Slack, OpenAI, or Anthropic tokens, using rules derived from gitleaks. It reads inline scripts and the same-origin scripts and JSON the page loaded, up to 40 files of at most 2 MB each and 8 MB in total, and never reads third-party scripts.
- Gates on: any live server-side credential.
- Not reported: keys that are public by design, such as Stripe publishable keys or Google browser API keys.
A finding shows only the first four characters and the length of the value. Rotate any exposed key: once it has been served, removing it from the bundle does not make it safe.
To catch secrets before they are ever deployed, also add the merge readiness suite, which scans your commits with gitleaks inside your CI.