Skip to main content

Action Configuration

Required inputs

  • token: ScanU API token.
  • urls: multiline list of full URLs.

Optional inputs

  • project_id: existing project id.
  • browsers: comma-separated chrome,firefox,webkit.
  • devices: comma-separated device ids/presets (default desktop).
  • mode: before-and-after, after-only, baseline-only.
  • fail_on_diff: true/false (default true).
  • timeout: minutes for polling (default 10).
  • github_token: optional override for PR comment token.
  • api_base_url: API base override.

Environment variables / secrets

NameRequiredExampleDescriptionWhere to set
SCANU_TOKENYesscanu_live_***Used as with.tokenGitHub Actions secret
SCANU_PROJECT_IDRecommended2a9f...-uuidProject scope for scansGitHub Actions secret
SCANU_API_BASE_URLNohttps://api.scanu.ioOverride API hostGitHub Actions secret/variable
GITHUB_TOKENFor PR comments(auto)Used to create/update PR commentWorkflow/job env