Skip to content

Commit

Permalink
fix: lint-pr status condition
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 21, 2022
1 parent 13d4fb1 commit e666388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/events/pr-handlers/actions/editOpenedPR.ts
Expand Up @@ -107,7 +107,7 @@ export const editOpenedPR = async <Name extends EventsWithRepository>(
},
};

if (!hasLegacyLintPrCheck && !previousSha) {
if (!hasLegacyLintPrCheck || previousSha) {
statuses.push(lintStatus);
}

Expand Down

0 comments on commit e666388

Please sign in to comment.