Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit 29b68c8

Browse files
Merge pull request #2 from adore-me/fail-on-issues
Fail on issues
2 parents 4715ec4 + 229bfcb commit 29b68c8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

dist/index.js

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ async function createCheck(
7878
head_sha: sha,
7979
name,
8080
status: <const>'completed',
81-
conclusion: numErrors === 0 ? <const>'success' : <const>'neutral',
81+
conclusion: numErrors === 0 ? <const>'success' : <const>'failure',
8282
output: {
8383
title,
8484
summary: `${numErrors} violation(s) found`,
@@ -94,7 +94,7 @@ async function createCheck(
9494
...context.repo,
9595
check_run_id,
9696
status: <const>'completed',
97-
conclusion: numErrors === 0 ? <const>'success' : <const>'neutral',
97+
conclusion: numErrors === 0 ? <const>'success' : <const>'failure',
9898
output: {
9999
title,
100100
summary: `${numErrors} violation(s) found`,

0 commit comments

Comments
 (0)