Skip to content

Commit b152986

Browse files
committed
Don't fail bors on skipped builds
1 parent 4329d1c commit b152986

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

homu/server.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -622,6 +622,10 @@ def fail(err):
622622
return 'OK'
623623
if info['check_run']['conclusion'] is None:
624624
return 'OK'
625+
# GHA marks jobs as skipped, if they are not run due to the job
626+
# condition. This prevents bors from failing because of these jobs.
627+
if info['check_run']['conclusion'] == 'skipped':
628+
return 'OK'
625629

626630
report_build_res(
627631
info['check_run']['conclusion'] == 'success',

0 commit comments

Comments
 (0)