get status from github api

This commit is contained in:
Bryan Gerlach
2026-03-11 00:20:38 -05:00
parent e32ed80003
commit 88fb3b7da0

View File

@@ -318,7 +318,7 @@ def generator_view(request):
)
try:
response = requests.post(url, json=data, headers=headers)
#print(response)
print(response)
if response.status_code == 204 or response.status_code == 200:
github_data = response.json()
new_github_run.github_run_id = github_data.get('id')