renovate/lib/modules/platform/bitbucket
2024-01-04 07:43:18 +00:00
..
__snapshots__ fix(platform/bitbucket): remove blockquote markdown from bitbucket issue description (#20588) 2023-02-23 07:01:44 +01:00
comments.spec.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
comments.ts refactor(prettier): Force trailing commas (#25631) 2023-11-07 15:50:29 +00:00
index.spec.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
index.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
pr-cache.spec.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
pr-cache.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
readme.md docs: rename platform index.md to readme.md (#25215) 2023-10-15 10:32:02 +00:00
schema.ts feat(platform/bitbucket): add support for fetching release notes (#22094) 2023-07-03 11:23:53 +00:00
types.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00
utils.ts feat(bitbucket): Implement PR cache for repositories (#26345) 2024-01-04 07:43:18 +00:00

Bitbucket Cloud

Authentication

First, create an app password for the bot account. Give the bot app password the following permission scopes:

Permission Scope
account Account: Read
team Workspace membership: Read
issue:write Issues: Write
pullrequest:write Pull requests: Write

The bot also needs to validate the workspace membership status of pull-request reviewers, for that, create a new user group in the workspace with the Create repositories permission and add the bot user to it.

Let Renovate use your app password by doing one of the following:

  • Set your app password as a password in your config.js file
  • Set your app password as an environment variable RENOVATE_PASSWORD
  • Set your app password when you run Renovate in the CLI with --password=

Remember to:

  • Set the username for the bot account
  • Set platform=bitbucket somewhere in your Renovate config file

Unsupported platform features/concepts

  • Adding assignees to PRs not supported (does not seem to be a Bitbucket concept)
  • automergeStrategy=rebase not supported by Bitbucket Cloud, see Jira issue BCLOUD-16610