Skip to content

Commit 768d3ba

Browse files
authored
github-automation.py: Add debug output to the commit-request-greeter (llvm#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.
1 parent 7de2e49 commit 768d3ba

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

llvm/utils/git/github-automation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ def run(self) -> bool:
270270
merged_by = {}
271271
reviewed_by = {}
272272
for i in self.repo.get_issues(creator=self.issue.user.login, state="all"):
273+
print("Looking at issue:", i)
273274
issue_reviewed_by = set()
274275
try:
275276
pr = i.as_pull_request()
@@ -292,7 +293,8 @@ def run(self) -> bool:
292293
merged_by[merger] += 1
293294
continue
294295

295-
except github.GithubException:
296+
except github.GithubException as e:
297+
print(e)
296298
continue
297299

298300
comment = f"""

0 commit comments

Comments
 (0)