[llvm] 768d3ba - github-automation.py: Add debug output to the commit-request-greeter (#137104)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 24 15:32:36 PDT 2025
Author: Tom Stellard
Date: 2025-04-24T15:32:32-07:00
New Revision: 768d3ba74319473e0bbf87ad92174062d4909488
URL: https://github.com/llvm/llvm-project/commit/768d3ba74319473e0bbf87ad92174062d4909488
DIFF: https://github.com/llvm/llvm-project/commit/768d3ba74319473e0bbf87ad92174062d4909488.diff
LOG: github-automation.py: Add debug output to the commit-request-greeter (#137104)
This script is not working any more in the GitHub actions jobs and I
can't reproduce this locally, so I've added some debug output to try to
help find the problem.
Added:
Modified:
llvm/utils/git/github-automation.py
Removed:
################################################################################
diff --git a/llvm/utils/git/github-automation.py b/llvm/utils/git/github-automation.py
index 6e847f6cea59d..6b2ed9759b099 100755
--- a/llvm/utils/git/github-automation.py
+++ b/llvm/utils/git/github-automation.py
@@ -270,6 +270,7 @@ def run(self) -> bool:
merged_by = {}
reviewed_by = {}
for i in self.repo.get_issues(creator=self.issue.user.login, state="all"):
+ print("Looking at issue:", i)
issue_reviewed_by = set()
try:
pr = i.as_pull_request()
@@ -292,7 +293,8 @@ def run(self) -> bool:
merged_by[merger] += 1
continue
- except github.GithubException:
+ except github.GithubException as e:
+ print(e)
continue
comment = f"""
More information about the llvm-commits
mailing list