You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ep...@apache.org on 2023/03/08 14:44:21 UTC

[airflow] 06/20: Exclude dependedbot PRs from status testing report (#28954)

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

ephraimanierobi pushed a commit to branch v2-5-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 626b1514d4b022b7e368df6479aa7b3641338248
Author: eladkal <45...@users.noreply.github.com>
AuthorDate: Mon Jan 16 01:13:09 2023 +0200

    Exclude dependedbot PRs from status testing report (#28954)
    
    (cherry picked from commit d5ac1b057f96d94062a92d968fe40f4371eb5da0)
---
 dev/prepare_release_issue.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev/prepare_release_issue.py b/dev/prepare_release_issue.py
index 9811d6051e..3009a151a8 100755
--- a/dev/prepare_release_issue.py
+++ b/dev/prepare_release_issue.py
@@ -289,6 +289,9 @@ def generate_issue_content(
                     console.print(f"[red]The PR #{pr_number} could not be found[/]")
                     continue
 
+            if pr.user.login == "dependabot":
+                console.print(f"[yellow]Skipping PR #{pr_number} as it was created by dependabot[/]")
+                continue
             # Ignore doc-only and skipped PRs
             label_names = [label.name for label in pr.labels]
             if "type:doc-only" in label_names or "changelog:skip" in label_names: