adRise/update-pr-branch

required_approval_count not working as documented

Closed this issue · 1 comments

This is in the docs:
The action will skip PRs that have less approvals than required_approval_count.

however I'm getting:

Won't update #625, the reason:
      > approvalsCount: 1, requiredApprovalCount: 0, changesRequestedReviews: 1

@KissPeter sorry for the late response. According to the reason message, one of the reviewers gave request for change for the PR. Based on the current logic, we will skip the PR because this PR is not in the ready to merge state