danger / danger-js

⚠️ Stop saying "you forgot to …" in code review
http://danger.systems/js/
MIT License
5.24k stars 367 forks source link

Feature: Add support for BitBucket Repository Access Token #1365

Closed thawankeane closed 1 year ago

thawankeane commented 1 year ago

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

orta commented 1 year ago

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!

orta commented 1 year ago

Thanks, this is shipped as 11.2.4