Use the HEAD sha, when reporting a PR issue
This commit is contained in:
parent
eeaebe4d92
commit
8decb35652
|
@ -168,6 +168,7 @@ class GiteaStatusPush(http.ReporterBase):
|
||||||
if 'pr_id' in props:
|
if 'pr_id' in props:
|
||||||
repository_name = props['head_reponame']
|
repository_name = props['head_reponame']
|
||||||
repository_owner = props['head_owner']
|
repository_owner = props['head_owner']
|
||||||
|
sha = props['head_sha']
|
||||||
elif 'repository_name' in props:
|
elif 'repository_name' in props:
|
||||||
repository_name = props['repository_name']
|
repository_name = props['repository_name']
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user