BitBucket supports repositories access tokens, these tokens can access the repository through scopes, it can be used to authenticate with BitBucket REST API to make changes to repo itself.
This pull request add support for them through a new environment variable called DANGER_BITBUCKETCLOUD_REPO_ACCESSTOKEN
A test to make sure it doesn't break in the future would be nice, but it's not a blocker (that can come in another PR if you're in the mood) but this looks good to me - thanks!
BitBucket supports repositories access tokens, these tokens can access the repository through scopes, it can be used to authenticate with BitBucket REST API to make changes to repo itself.
This pull request add support for them through a new environment variable called
DANGER_BITBUCKETCLOUD_REPO_ACCESSTOKEN