Fix bug when updating a pull request
This commit is contained in:
2
dist/src/create-pull-request.py
vendored
2
dist/src/create-pull-request.py
vendored
@ -120,7 +120,7 @@ def process_event(github_token, github_repository, repo, branch, base):
|
||||
pull_request = github_repo.get_pulls(
|
||||
state='open',
|
||||
base=base,
|
||||
head=branch)[1]
|
||||
head=branch)[0]
|
||||
print("Updated pull request #%d (%s => %s)" %
|
||||
(pull_request.number, branch, base))
|
||||
else:
|
||||
|
Reference in New Issue
Block a user