actions-marketplace-validations/action-visual-snapshot

Visual snapshot tester for GitHub Actions

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
thresholdMatching threshold, ranges from 0 to 1. Smaller values make the comparison more sensitive. 0.1 by default.no0.05
antialiasingBlending factor of unchanged pixels in the diff output. Ranges from 0 for pure white to 1 for original brightness. 0.1 by default.nofalse
diffMaskDraw the diff over a transparent background (a mask), rather than over the original image. Will not draw anti-aliased pixels (if detected).no
snapshot-pathpath where snapshots are savedno
merge-basethe merge base sha, will use from github context otherwise. If you use `pull_request_target` you will need to supply the merge base.no
api-tokenVisual Snapshot API token, should be `VISUAL_SNAPSHOT_SECRET` from GitHub Secretsyes
api-endpointCustom API endpointno
github-tokengithub tokenno${{ github.token }}
results-pathpath to write snapshot diffsno/tmp/visual-snapshot-results
save-onlyshould action only be used to save snapshotsnofalse
base-workflow-idid of the workflow that saves your base snapshots (the name of the yaml file including extension)no
base-branchname of the branch to use as base comparisonnomaster
base-artifact-namedefining this artifact will diff from an artifact from the PR workflow instead of a branch
artifact-namethe artifact namenovisual-snapshots
action-nameThe name to be displayed in GitHub ChecksnoVisual Snapshot
gcp-service-account-keyGoogle Cloud service account key (base64)no
gcs-bucketif this is set, upload to google cloud storageno
parallelismnumber of threads to use when diffing imagesno
namedescription
results-pathpath where results are saved
base-images-pathpath where base images are saved
merge-base-images-pathpath where merge base images are saved