{"repo":"renovatebot/renovate-approve-bot-bitbucket-cloud","free":true,"listed":false,"github":"https://github.com/renovatebot/renovate-approve-bot-bitbucket-cloud","clone":"git clone https://github.com/renovatebot/renovate-approve-bot-bitbucket-cloud.git","description":"renovate-approve-bot - Bitbucket Cloud Edition","language":"JavaScript","stars":18,"topics":["bitbucket","bitbucket-cloud","renovate","bot","automerge"],"license":"ISC","category":"workflow-automation","readme_excerpt":"renovate-approve-bot - Bitbucket Cloud Edition A job to approve Pull Requests from Renovate Bot on Bitbucket Cloud. This enables you to require Pull Request approvals on your repository while also utilising Renovate's \"automerge\" feature. For Github, see renovatebot/renovate-approve-bot. How it works On each run, the bot will: 1. Get all the open PRs from the Renovate Bot user 2. Filter out PRs where \"automerge\" is disabled 3. Approve the \"automerge\" PRs Usage 1. Create a Bitbucket Cloud account for the renovate-approve-bot and add it to your team (Recommended) 2. Create an App password with pullrequest:write scope 3. Grant read access on your repositories to the renovate-approve-bot account 4. Optionally, add the renovate-approve-bot account to the default reviewers if you require approval from default reviewers 5. Set the environment variables: - BITBUCKET USERNAME : Bitbucket username associated with the account used for renovate-approve-bot - BITBUCKET PASSWORD : Bitbucket App password created in step 2 - BITBUCKET WORKSPACE : Bitbucket workspace in which PR's will be searched for and approved - RENOVATE BOT USER : Bitbucket username of your Renovate Bot 6. Run the bot (on a schedule similarly to Renovate Bot, e.g. as a Cron job): - With Docker: - From source: Bitbucket Pipelines example Example to run renovate-approve-bot in a custom Bitbucket Pipeline on a schedule: 1. Add BITBUCKET USERNAME and BITBUCKET PASSWORD and BITBUCKET WORKSPACE to your repository variables 2. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/renovatebot","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/renovatebot/renovate-approve-bot-bitbucket-cloud/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}