From a2239254ad8133e14d45b24cc8939d13daa9ac25 Mon Sep 17 00:00:00 2001 From: Ivan Razumov Date: Wed, 6 Dec 2023 11:11:27 +0100 Subject: [PATCH] Do not trigger tests on code-checks signature --- process_pr.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/process_pr.py b/process_pr.py index ca2a69b2bac2..0dfae2a4dfa6 100644 --- a/process_pr.py +++ b/process_pr.py @@ -1429,8 +1429,10 @@ def process_pr(repo_config, gh, repo, issue, dryRun, cmsbuild_user=None, force=F if ctype == "+1": for sign in selected_cats: signatures[sign] = "approved" - if (test_comment is None) and ( - (repository in auto_test_repo) or ("*" in auto_test_repo) + if ( + (test_comment is None) + and ((repository in auto_test_repo) or ("*" in auto_test_repo)) + and sign != "code-checks" ): test_comment = event["value"]["comment"] # if sign == "orp":