From 27a7ef68503fbf339316e2c5192619762f78eb73 Mon Sep 17 00:00:00 2001 From: iarspider Date: Thu, 18 Apr 2024 11:25:57 +0200 Subject: [PATCH] process_pr: only trigger automatic tests once per PR --- process_pr.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/process_pr.py b/process_pr.py index 776d46694f4f..511df74a9b7a 100644 --- a/process_pr.py +++ b/process_pr.py @@ -1686,7 +1686,11 @@ 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 sign not in ("code-checks", "tests", "orp"): + if auto_test_comment is None and sign not in ( + "code-checks", + "tests", + "orp", + ): auto_test_comment = comment elif ctype == "-1": for sign in selected_cats: