spelling mistake
This commit is contained in:
@ -199,7 +199,7 @@ def get_failed_gh_commits(pull, url, gh_org, repo, headers):
|
|||||||
if len(res_sta.json()['check_runs']) != 0:
|
if len(res_sta.json()['check_runs']) != 0:
|
||||||
if res_sta.json()['check_runs'][0]['conclusion'] == 'failure':
|
if res_sta.json()['check_runs'][0]['conclusion'] == 'failure':
|
||||||
o = FailedPR(
|
o = FailedPR(
|
||||||
host='gitea',
|
host='github',
|
||||||
url=pull['html_url'],
|
url=pull['html_url'],
|
||||||
status=res_sta.json()['check_runs'][0]['conclusion'],
|
status=res_sta.json()['check_runs'][0]['conclusion'],
|
||||||
target_url=(res_sta.json()['check_runs']
|
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)
|
failed_commits.append(o)
|
||||||
else:
|
else:
|
||||||
o = FailedPR(
|
o = FailedPR(
|
||||||
host='gitea',
|
host='github',
|
||||||
url=pull['html_url'],
|
url=pull['html_url'],
|
||||||
status='',
|
status='',
|
||||||
target_url='',
|
target_url='',
|
||||||
|
Reference in New Issue
Block a user