Azure / Azure/azure-devops-cli-extension
[Bug] Passing --auto-complete does not auto-complete if branch policy on merge type is applied
- Dominant language
- Python
- Stars
- 682
- Forks
- 278
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 3
Description
**Describe the bug**
If you pass auto-complete in `az repos pr create` command autocomplete appears to be turned on, but the PR does not actually autocomplete when all criteria are met. We have a work item requirement, 2 approvers requirement, and passing build requirement.
**To Reproduce**
Azure Cli Version: 2.0.62
Azure-Devops extension version: 0.4.0
Steps to reproduce the behavior:
1. login using az login
2. create pr using `az repos pr create --auto-complete` from a branch on git repository
3. complete all requirements for pr to close
4. See that PR does not actually close in browser
**Expected behavior**
PR should merge and complete as soon as the last requirement is met
Contributor guide
Assessment
This issue has not been assessed yet.