You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+39-8Lines changed: 39 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
-
# renovate-approve-bot - Bitbucket Cloud Edition
1
+
# renovate-approve-bot - Bitbucket Edition
2
2
3
-
A job to approve Pull Requests from [Renovate Bot](https://github.com/renovatebot/renovate) on Bitbucket Cloud. This enables you to require Pull Request approvals on your repository while also utilising Renovate's "automerge" feature.
3
+
A job to approve Pull Requests from [Renovate Bot](https://github.com/renovatebot/renovate) on Bitbucket Cloud and Data Center (and Server). This enables you to require Pull Request approvals on your repository while also utilising Renovate's "automerge" feature.
4
4
5
5
For Github, see [renovatebot/renovate-approve-bot](https://github.com/renovatebot/renovate-approve-bot).
3. Create a [schedule](https://support.atlassian.com/bitbucket-cloud/docs/pipeline-triggers/#On-schedule) for the custom pipeline (e.g. Hourly)
66
66
67
+
## Bitbucket Data Center and Server usage
68
+
69
+
1. Create an account forthe renovate-approve-botin your Bitbucket Data Center or Server instance
70
+
2. Create a [HTTP access token](https://confluence.atlassian.com/bitbucketserver/http-access-tokens-939515499.html) (formerly known as personal access token) for the renovate-approve-bot account
71
+
3. Grant read access on your repositories to the renovate-approve-bot account
72
+
4. Optionally, add the renovate-approve-bot account to the default reviewers if you require approval from default reviewers
73
+
5. Set the environment variables:
74
+
- `BITBUCKET_URL`: URL of your Bitbucket Data Center or Server instance
75
+
- `BITBUCKET_USERNAME`: Bitbucket username associated with the account used for renovate-approve-bot
76
+
- `BITBUCKET_PASSWORD`: HTTP access token of the renovate-approve-bot account
77
+
- `RENOVATE_BOT_USER`: Bitbucket username of your Renovate Bot
78
+
6. Run the bot (on a schedule similarly to Renovate Bot, e.g. as a [Cron](https://en.wikipedia.org/wiki/Cron) job):
If you discover any important bug with `renovate-approve-bot-bitbucket-cloud` that may pose a security problem, please disclose it confidentially to renovate-disclosure@whitesourcesoftware.com first, so that it can be assessed and hopefully fixed prior to being exploited.
100
+
If you discover any important bug with `renovate-approve-bot-bitbucket` that may pose a security problem, please disclose it confidentially to renovate-disclosure@whitesourcesoftware.com first, so that it can be assessed and hopefully fixed prior to being exploited.
70
101
Please do not raise GitHub issues for security-related doubts or problems.
0 commit comments