Skip to content

Commit

Permalink
More debug output
Browse files Browse the repository at this point in the history
  • Loading branch information
a4z committed Dec 22, 2023
1 parent fe57a66 commit 450d519
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions get-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']
Expand Down

0 comments on commit 450d519

Please sign in to comment.