This is an automated email from the ASF dual-hosted git repository.
lostluck pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new b5ea07d77c0 Consider skipped checks successful (#21924)
b5ea07d77c0 is described below
commit b5ea07d77c0a7200aaa6af51b3d48d5a4da7f817
Author: Danny McCormick <[email protected]>
AuthorDate: Fri Jun 17 11:46:12 2022 -0400
Consider skipped checks successful (#21924)
* Consider skipped checks successful
* Format
---
scripts/ci/pr-bot/shared/checks.ts | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/ci/pr-bot/shared/checks.ts
b/scripts/ci/pr-bot/shared/checks.ts
index 51bcf180259..f27830a1dc2 100644
--- a/scripts/ci/pr-bot/shared/checks.ts
+++ b/scripts/ci/pr-bot/shared/checks.ts
@@ -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;
}
}