This is an automated email from the ASF dual-hosted git repository.

amoghdesai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new ad8fcaab600 Skip bot users when collecting PR authors while prepping 
release (#51386)
ad8fcaab600 is described below

commit ad8fcaab60088d6e41e8d95c7c4fe77da4c33b45
Author: Amogh Desai <[email protected]>
AuthorDate: Wed Jun 4 17:38:49 2025 +0530

    Skip bot users when collecting PR authors while prepping release (#51386)
---
 dev/breeze/src/airflow_breeze/commands/release_management_commands.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py 
b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
index 023615c2f3a..b5d8891c633 100644
--- a/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
+++ b/dev/breeze/src/airflow_breeze/commands/release_management_commands.py
@@ -3856,7 +3856,9 @@ def generate_issue_content(
                         progress.console.print(
                             f"Failed to retrieve linked issue 
#{linked_issue_number}: Unknown Issue"
                         )
-            users[pr_number].add(pr.user.login)
+            # do not add bot users to the list of users
+            if not pr.user.login.endswith("[bot]"):
+                users[pr_number].add(pr.user.login)
             for linked_issue in linked_issues[pr_number]:
                 users[pr_number].add(linked_issue.user.login)
             progress.advance(task)

Reply via email to