Fail the build reports on non-success status to restart on the next attempt

This commit is contained in:
Mikhail f. Shiryaev 2024-04-19 11:45:12 +02:00
parent 58bf18999d
commit eb23de3561
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -2121,6 +2121,8 @@ def main() -> int:
pr_info,
dump_to_file=True,
)
if job_report.status != SUCCESS:
exit_code = 1
if not pr_info.is_merge_queue:
# in the merge queue mergeable status must be set only in FinishCheck (last job in wf)
update_mergeable_check(