Skip to content

Commit

Permalink
process_pr: only trigger automatic tests once per PR
Browse files Browse the repository at this point in the history
  • Loading branch information
iarspider committed Apr 18, 2024
1 parent 416c4b3 commit 27a7ef6
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 27a7ef6

Please sign in to comment.