CI: fix pr check status to not fail mergeable check

#do_not_test
This commit is contained in:
Max Kainov 2024-02-28 10:33:32 +00:00
parent fe50b5871b
commit 155b5f3cff

View File

@ -27,7 +27,7 @@ from lambda_shared_package.lambda_shared.pr import (
check_pr_description,
)
from pr_info import PRInfo
from report import FAILURE, PENDING
from report import FAILURE, PENDING, SUCCESS
TRUSTED_ORG_IDS = {
54801242, # clickhouse
@ -180,6 +180,15 @@ def main():
)
print("::notice ::Cannot run")
sys.exit(1)
else:
post_commit_status(
commit,
SUCCESS,
"",
"ok",
PR_CHECK,
pr_info,
)
ci_report_url = create_ci_report(pr_info, [])
print("::notice ::Can run")