Skip to content

Commit

Permalink
Set isReapprove=true when for PRs with auto approve (#1132)
Browse files Browse the repository at this point in the history
  • Loading branch information
mburumaxwell authored May 23, 2024
1 parent 377906e commit 46413e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion updater/bin/azure_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@ def pull_request_approve(pull_request_id, reviewer_token)
# https://learn.microsoft.com/en-us/rest/api/azure/devops/git/pull-request-reviewers/create-pull-request-reviewers?view=azure-devops-rest-6.0
content = {
# 10 - approved 5 - approved with suggestions 0 - no vote -5 - waiting for author -10 - rejected
vote: 10
vote: 10,
isReapprove: true
}

put_with_token(source.api_endpoint + source.organization + "/" + source.project +
Expand Down

0 comments on commit 46413e9

Please sign in to comment.