[llvm] [Github] Add PR author name to subscription email (PR #68440)

Aiden Grossman via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 8 19:29:17 PDT 2023


boomanaiden154 wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-llvm-exegesis

Author: Aiden Grossman (boomanaiden154)

<details>
<summary>Changes</summary>

Currently the email that gets sent out to people subscribing to a label that the bot tags on the PR doesn't include any authorship information which some people are interested in having. This patch adds an author field to the message with the relevant information.

---
Full diff: https://github.com/llvm/llvm-project/pull/68440.diff


1 Files Affected:

- (modified) llvm/utils/git/github-automation.py (+2) 


``````````diff
diff --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index b90c68a3618b9d7..cd549e75bf7d6cd 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -165,6 +165,8 @@ def run(self) -> bool:
 {self.COMMENT_TAG}
 {team_mention}
 
+Author: {self.pr._user.name} ({self.pr._user.login})
+
 <details>
 <summary>Changes</summary>
 

``````````

</details>


https://github.com/llvm/llvm-project/pull/68440


More information about the llvm-commits mailing list