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 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='',
|
||||
|
Reference in New Issue
Block a user