[llvm] Try to fix good-first-issue bot (PR #71816)

Timm Baeder via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 10 03:11:47 PST 2023


https://github.com/tbaederr updated https://github.com/llvm/llvm-project/pull/71816

>From 44461f438f9fc030d2af53499d640a830f800041 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Timm=20B=C3=A4der?= <tbaeder at redhat.com>
Date: Thu, 9 Nov 2023 16:21:06 +0100
Subject: [PATCH] Try to fix good-first-issue bot

---
 llvm/utils/git/github-automation.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index ad1878d41193920..d9d1f9c7dc7ca86 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -78,12 +78,13 @@ def run(self) -> bool:
         if not team:
             print(f"couldn't find team named {self.team_name}")
             return False
+
         comment = ""
         if team.slug == "issue-subscribers-good-first-issue":
             comment = "{}\n".format(beginner_comment)
+            self.issue.create_comment(comment)
 
         body = escape_description(self.issue.body)
-
         comment = f"""
 @llvm/{team.slug}
 



More information about the llvm-commits mailing list