diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2024-09-27 19:56:43 -0400 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2024-10-01 01:19:00 +0000 |
commit | 4f4673846fc9d6fc1c10a6c025da4739d872a6a0 (patch) | |
tree | fae385b3569fae652603d17d56f199a14ae91ace | |
parent | c95233b8525ca6828921affd1496146cff262e65 (diff) | |
download | edk2-4f4673846fc9d6fc1c10a6c025da4739d872a6a0.tar.gz edk2-4f4673846fc9d6fc1c10a6c025da4739d872a6a0.tar.bz2 edk2-4f4673846fc9d6fc1c10a6c025da4739d872a6a0.zip |
.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 <michael.kubacki@microsoft.com>
-rw-r--r-- | .github/scripts/GitHub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/scripts/GitHub.py b/.github/scripts/GitHub.py index 628cd8412a..885975a7d7 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)
):
|