Skip to content

Commit

Permalink
Pull request completion not working due to bypass policy information …
Browse files Browse the repository at this point in the history
…not passed. (#589)
  • Loading branch information
atbagga committed May 9, 2019
1 parent 2133f46 commit 5748037
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions azure-devops/azext_devops/dev/repos/pull_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@ def _update_pull_request_status(pull_request_id, new_status, organization=None,
pr = GitPullRequest(status=new_status)
if new_status == 'completed':
pr.last_merge_source_commit = existing_pr.last_merge_source_commit
pr.completion_options = existing_pr.completion_options
pr = client.update_pull_request(git_pull_request_to_update=pr,
project=existing_pr.repository.project.name,
repository_id=existing_pr.repository.name,
Expand Down

0 comments on commit 5748037

Please sign in to comment.