From f336e9317ef6b5b03ceb45a9e1d4546c4c0dbe2e Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 23 Apr 2025 18:15:21 -0700 Subject: [PATCH] github-automation.py: Add debug output to the commit-request-greeter 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. --- llvm/utils/git/github-automation.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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"""