Inputs
Every input is optional; left out or empty it uses its default. Outputs: result is pass, warn or fail; report is the path of the report JSON on the runner (Report). First setup: Getting started.
| Input | Default | Meaning |
|---|---|---|
url |
empty | URL of the start page. Leave empty to scan only the repository. Never take it from untrusted event data (pull request, issue or comment fields). |
subscriptions |
false |
true if visitors can sign up for subscriptions (checks the cancellation button, § 312k BGB). |
sales |
false |
true if consumers buy or sign contracts on the site (turns on the shop checks for withdrawal, order button, prices and T&Cs). |
modules |
empty | Comma list of check groups to run (legal, dfa, privacy, security, sustainability, accessibility, quality). Empty = all. Website checks run with url, repository checks with a checkout. |
fail-on |
fail |
When the job fails. fail = on any fail, warn = on any warn or fail, never = report only. |
max-pages |
10 |
How many pages to visit at most. |
repository |
workspace | Folder to scan for lockfiles, licenses and secrets. Empty folder (no checkout) = skip. |
ipinfo-token |
empty | Optional IPinfo token (secret IPINFO_TOKEN). Opt-in IP country lookup for the third-country check (LEG-EU-DSE-005), for servers not in data/hosting.yml or data/third-parties.yml. Empty = the check uses that data only and nothing is sent to IPinfo. |
vulnerabilities |
false |
Opt-in. true sends the name and version of every locked component to api.osv.dev to look up known vulnerabilities. false = send nothing, skip the rule. |
green-hosting |
false |
Opt-in. true asks api.thegreenwebfoundation.org whether the site's host runs on green energy and sends the host name only. false = send nothing, skip the rule. |
require-sandbox |
true |
true = stop when Chrome cannot start with its sandbox. false = then scan without it, only for sites you trust. |
allow-private-url |
false |
true = the host of url may be a private or local address (localhost, own network). false = such a url stops the scan, and the scan never connects to private or local addresses. |
sarif-upload |
auto |
Upload the findings as SARIF to GitHub code scanning, so they show as alerts in the Security tab, which only people with write access see. auto = upload where GitHub allows it (job permission security-events write; private repositories also need actions read and GitHub Code Security), otherwise skip with a notice. false = never. The upload never fails the job. |
What runs when
Most checks always run. These need a setting; without it they are skipped and the report names the setting.