Attention List #4

Closed
sgode wants to merge 16 commits from (deleted):attention_list into main
Showing only changes of commit 841bda3ac7 - Show all commits

View File

@ -199,7 +199,7 @@ def get_failed_gh_commits(pull, url, gh_org, repo, headers):
if len(res_sta.json()['check_runs']) != 0:
if res_sta.json()['check_runs'][0]['conclusion'] == 'failure':
o = FailedPR(
host='gitea',
host='github',
url=pull['html_url'],
status=res_sta.json()['check_runs'][0]['conclusion'],
target_url=(res_sta.json()['check_runs']
@ -211,7 +211,7 @@ def get_failed_gh_commits(pull, url, gh_org, repo, headers):
failed_commits.append(o)
else:
o = FailedPR(
host='gitea',
host='github',
url=pull['html_url'],
status='',
target_url='',