Skip to content

Commit e49385b

Browse files
feat: change differences found status from failing to pending (#642)
Co-authored-by: tmichaels2025 <tmichaels2025@users.noreply.github.com>
1 parent f050c38 commit e49385b

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

action/dist/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36089,7 +36089,7 @@ var run = async () => {
3608936089
await octokit.rest.repos.createCommitStatus({
3609036090
sha: commitHash,
3609136091
context: VISUAL_REGRESSION_CONTEXT,
36092-
state: "failure",
36092+
state: "pending",
3609336093
description: "A visual regression was detected. Check Comparadise!",
3609436094
target_url: buildComparadiseUrl(),
3609536095
...import_github6.context.repo

action/dist/main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

action/src/run.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ export const run = async () => {
157157
await octokit.rest.repos.createCommitStatus({
158158
sha: commitHash,
159159
context: VISUAL_REGRESSION_CONTEXT,
160-
state: 'failure',
160+
state: 'pending',
161161
description: 'A visual regression was detected. Check Comparadise!',
162162
target_url: buildComparadiseUrl(),
163163
...context.repo

action/test/run.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ describe('main', () => {
202202
repo: 'repo',
203203
sha: 'sha',
204204
context: VISUAL_REGRESSION_CONTEXT,
205-
state: 'failure',
205+
state: 'pending',
206206
description: 'A visual regression was detected. Check Comparadise!',
207207
target_url:
208208
'https://comparadise.app/?commitHash=sha&owner=owner&repo=repo&bucket=some-bucket&useBaseImages=true'
@@ -447,7 +447,7 @@ describe('main', () => {
447447
repo: 'repo',
448448
sha: 'sha',
449449
context: VISUAL_REGRESSION_CONTEXT,
450-
state: 'failure',
450+
state: 'pending',
451451
description: 'A visual regression was detected. Check Comparadise!',
452452
target_url:
453453
'https://comparadise.app/?commitHash=sha&owner=owner&repo=repo&bucket=some-bucket&useBaseImages=false'

0 commit comments

Comments
 (0)