Skip to content

Commit

Permalink
fix: ignore codecov as pending check
Browse files Browse the repository at this point in the history
  • Loading branch information
christophehurpeau committed Jan 22, 2023
1 parent 3fec4eb commit 34087df
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -22,7 +22,8 @@ export const isCheckNotAllowedToFail = (
);

export const isPendingCheckShouldBeIgnored = (checkName: string): boolean =>
checkName?.includes('/hold-');
// see https://github.com/christophehurpeau/nightingale/pull/643, when label change codecov check goes to in-progress again
checkName?.includes('codecov') || checkName?.includes('/hold-');

export const getFailedOrWaitingChecksAndStatuses = <GroupNames extends string>(
{ checksConclusionRecord, statusesConclusionRecord }: ChecksAndStatuses,
Expand Down

0 comments on commit 34087df

Please sign in to comment.