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 450d519 commit eefebb1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions get-generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ def download_from_pr(owner, repo, pr_number):
headers = {'Authorization': f'token {TOKEN}'}
download_name=f'djinni-generator-{pr_number}.zip'

dbg_print(headers)

# 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()
Expand Down

0 comments on commit eefebb1

Please sign in to comment.