-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathaction.yml
56 lines (55 loc) · 2.55 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
name: "reg-actions"
author: "bokuweb"
description: 'A visual regression test tool for github actions.'
branding:
icon: 'aperture'
color: 'red'
inputs:
github-token:
description: 'GitHub API access token.It is used to upload test report and add comment to pull request.'
required: true
image-directory-path:
description: "Path to images directory.The images stored in this directory will be compared with the expected images from the last upload."
required: true
enable-antialias:
description: "Enable antialias. If omitted false."
required: false
matching-threshold:
description: "Matching threshold, ranges from 0 to 1. Smaller values make the comparison more sensitive. 0 by default."
required: false
threshold-rate:
description: "The rate threshold at which the image is considered changed. When the difference ratio of the image is larger than the set rate detects the change. Applied after `matchingThreshold`. 0 by default."
required: false
threshold-pixel:
description: "The pixel threshold at which the image is considered changed. When the difference pixel of the image is larger than the set pixel detects the change. This value takes precedence over `thresholdRate`. Applied after `matchingThreshold`. 0 by default."
required: false
target-hash:
description: "The commit hash to be compared."
required: false
artifact-name:
description: 'Workflow artifact name. `reg` by default.'
required: false
branch:
description: 'A branch name which manages images. `reg_actions` by default.'
required: false
disable-branch:
description: 'The option to disable push to a branch. When set to false, the `branch` option is ignored, and images will not be displayed in the comments.'
required: false
custom-report-page:
description: "The custom report page link."
required: false
report-file-path:
description: "Path of the generated report html file. This file can be deployed in other Actions steps, but is not included in the artifact. If omitted, no html report is generated."
required: false
comment-report-format:
description: "The option how to render changed file in comment. `raw` by default."
required: false
outdated-comment-action:
description: "The option to handle outdated comments. `none` by default."
required: false
retention-days:
description: "This option allows you to specify the duration for which images are stored in the branch. If not specified, the default is 30 days."
required: false
runs:
using: "node20"
main: "lib/index.cjs"