Skip to content

Commit

Permalink
Merge pull request #2214 from cms-sw/fix-autotest
Browse files Browse the repository at this point in the history
process_pr: only trigger automatic tests for first L2 signature
  • Loading branch information
smuzaffar authored Apr 18, 2024
2 parents 416c4b3 + 27a7ef6 commit 32daf3f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion process_pr.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 32daf3f

Please sign in to comment.