Skip to main content

Action Configuration (planned)

Not published yet. These are the inputs of the planned ScanU GitHub Action, which cannot be installed yet. Today, configure the scan in the request body of the Quick Start workflow.

Required inputs

  • token: ScanU API token.
  • project_id: the project the token was created for.
  • urls: multiline list of full URLs.

Optional inputs

  • browsers: comma-separated chromium,firefox,webkit (default chromium; chrome is read as chromium).
  • devices: comma-separated ScanU device preset ids such as desktop-fhd or iphone-15 (default desktop-fhd).
  • fail_on_diff: true/false (default true).
  • timeout: minutes for polling (default 10).
  • github_token: token for the PR comment (default: the workflow's own token).
  • api_base_url: API base override (https:// only).

Environment variables / secrets

NameRequiredExampleDescriptionWhere to set
SCANU_TOKENYesscu_***Used as with.tokenGitHub Actions secret
SCANU_PROJECT_IDYes2a9f...-uuidProject scope for scansGitHub Actions secret
SCANU_API_BASE_URLNohttps://scanyou.euOverride API hostGitHub Actions secret/variable
GITHUB_TOKENFor PR comments(auto)Passed by default as github_token to create/update the PR commentNothing to set; grant pull-requests: write