From e66638837c6ccc5f6bee5cd08b9b452f47e97f2f Mon Sep 17 00:00:00 2001 From: Christophe Hurpeau Date: Fri, 21 Jan 2022 10:40:26 +0000 Subject: [PATCH] fix: lint-pr status condition --- src/events/pr-handlers/actions/editOpenedPR.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/events/pr-handlers/actions/editOpenedPR.ts b/src/events/pr-handlers/actions/editOpenedPR.ts index 3962cc070..7155e9089 100644 --- a/src/events/pr-handlers/actions/editOpenedPR.ts +++ b/src/events/pr-handlers/actions/editOpenedPR.ts @@ -107,7 +107,7 @@ export const editOpenedPR = async ( }, }; - if (!hasLegacyLintPrCheck && !previousSha) { + if (!hasLegacyLintPrCheck || previousSha) { statuses.push(lintStatus); }