[llvm] github-automation.py: Fix mis-indented statement (PR #149653)

Kleis Auke Wolthuizen via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 19 07:46:19 PDT 2025


https://github.com/kleisauke created https://github.com/llvm/llvm-project/pull/149653

Ensure all reviewers who approved the original PR are properly notified and added as reviewers on backport PRs.

Resolves: #109429.

>From fafcf6e36036fbcf06c1432c15a3785d2f7c54b4 Mon Sep 17 00:00:00 2001
From: Kleis Auke Wolthuizen <github at kleisauke.nl>
Date: Sat, 19 Jul 2025 16:44:02 +0200
Subject: [PATCH] github-automation.py: Fix mis-indented statement

Ensure all reviewers who approved the original PR are properly notified
and added as reviewers on backport PRs.

Resolves: #109429.
---
 llvm/utils/git/github-automation.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index eb1abb2f37f20..9b1191a9f0df1 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -654,7 +654,7 @@ def pr_request_review(self, pr: github.PullRequest.PullRequest):
                 for review in pull.get_reviews():
                     if review.state != "APPROVED":
                         continue
-                reviewers.append(review.user.login)
+                    reviewers.append(review.user.login)
         if len(reviewers):
             message = "{} What do you think about merging this PR to the release branch?".format(
                 " ".join(["@" + r for r in reviewers])



More information about the llvm-commits mailing list