We are approving PRs using Bitbucket api (with token) running in bitbucket pipeline.
Our merge check is "Check for at least 1 approval from default reviewers".
When approved using the api, bitbucket ui showing like "approved by app user 'auto-approval-token' ".
How to add 'auto-approval-token' user as a default reviwer?
Notes:
We are using Bitbucket cloud and im an admin user
Approve api:
curl --request GET \ --url 'https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests' \ --header 'Authorization: Bearer <access_token>' \ --header 'Accept: application/json'