spelling mistake

This commit is contained in:
2022-09-27 10:58:48 +00:00
parent 8c13133c60
commit 841bda3ac7

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='',