diff --git a/homu/server.py b/homu/server.py index b9b382d..4dd2a9c 100644 --- a/homu/server.py +++ b/homu/server.py @@ -622,6 +622,10 @@ def fail(err): return 'OK' if info['check_run']['conclusion'] is None: return 'OK' + # GHA marks jobs as skipped, if they are not run due to the job + # condition. This prevents bors from failing because of these jobs. + if info['check_run']['conclusion'] == 'skipped': + return 'OK' report_build_res( info['check_run']['conclusion'] == 'success',