Skip to content

Commit

Permalink
Consider skipped checks successful (apache#21924)
Browse files Browse the repository at this point in the history
* Consider skipped checks successful
* Format
  • Loading branch information
damccorm authored Jun 17, 2022
1 parent 0dac9b4 commit b5ea07d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/ci/pr-bot/shared/checks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export async function getChecksStatus(
if (mostRecentChecks[i].status != "completed") {
checkStatus.completed = false;
}
if (mostRecentChecks[i].conclusion != "success") {
if (
mostRecentChecks[i].conclusion != "success" &&
mostRecentChecks[i].conclusion != "skipped"
) {
checkStatus.succeeded = false;
}
}
Expand Down

0 comments on commit b5ea07d

Please sign in to comment.