From 450d519a36f91489c7c61b9419a9857727ad94fd Mon Sep 17 00:00:00 2001 From: a4z Date: Fri, 22 Dec 2023 14:29:06 +0100 Subject: [PATCH] More debug output --- get-generator.py | 1 + 1 file changed, 1 insertion(+) diff --git a/get-generator.py b/get-generator.py index 7f13aba..0991979 100644 --- a/get-generator.py +++ b/get-generator.py @@ -81,6 +81,7 @@ def download_from_pr(owner, repo, pr_number): # Get the commits for the pull request response = requests.get(f'https://api.github.com/repos/{owner}/{repo}/pulls/{pr_number}/commits', headers=headers) commits = response.json() + dbg_print(commits) # Get the SHA of the last commit last_commit_sha = commits[-1]['sha']