Open nimbusparis opened 2 years ago
When creating a pull request using az repos pr create, the json returned don't give the count of file changed in the PR. It would be usefull to automatically cancel the PR if there are not changes. The command can use this route: https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-commits/get-pull-request-commits?view=azure-devops-rest-5.1#gitcommitref
When creating a pull request using az repos pr create, the json returned don't give the count of file changed in the PR. It would be usefull to automatically cancel the PR if there are not changes. The command can use this route: https://docs.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-commits/get-pull-request-commits?view=azure-devops-rest-5.1#gitcommitref