From 4f4673846fc9d6fc1c10a6c025da4739d872a6a0 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Fri, 27 Sep 2024 19:56:43 -0400 Subject: [PATCH] .github/GitHub.py: Update bot in redundant comment check The project moved from using the `github-actions[bot]` bot account to the `tianocore-assign-reviewers[bot]` account. A check is in place to prevent the "`WARNING: Cannot add some reviewers`" from appearing more than once if nothing has changed in the content it would post. This change updates the bot account to the current one so the check can work again. Signed-off-by: Michael Kubacki --- .github/scripts/GitHub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/GitHub.py b/.github/scripts/GitHub.py index 628cd8412a76..885975a7d784 100644 --- a/.github/scripts/GitHub.py +++ b/.github/scripts/GitHub.py @@ -243,7 +243,7 @@ def add_reviewers_to_pr( # If a comment has already been made for these non-collaborators, # do not make another comment. if ( - comment.user.login == "github-actions[bot]" + comment.user.login == "tianocore-assign-reviewers[bot]" and "WARNING: Cannot add some reviewers" in comment.body and all(u in comment.body for u in non_collaborators) ):