mirror of
https://github.com/acidanthera/audk.git
synced 2025-04-08 17:05:09 +02:00
.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>
This commit is contained in:
parent
c95233b852
commit
4f4673846f
2
.github/scripts/GitHub.py
vendored
2
.github/scripts/GitHub.py
vendored
@ -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)
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user