lib/danger/ci_source/bitbucket_pipelines.rb in danger-6.0.2 vs lib/danger/ci_source/bitbucket_pipelines.rb in danger-6.0.3

- old
+ new

@@ -6,12 +6,14 @@ # script: # - bundle exec danger --verbose # ``` # # #### Token Setup - # - # Add `DANGER_BITBUCKETCLOUD_USERNAME` and `DANGER_BITBUCKETCLOUD_USERNAME` to your pipeline repository variable. - # Settings > Pipelines > Repository Variables + # + # Add `DANGER_BITBUCKETCLOUD_USERNAME` and `DANGER_BITBUCKETCLOUD_USERNAME` to your pipeline repository variable + # or instead using `DANGER_BITBUCKETCLOUD_OAUTH_KEY` and `DANGER_BITBUCKETCLOUD_OAUTH_SECRET`. + # + # You can find them in Settings > Pipelines > Repository Variables class BitbucketPipelines < CI def self.validates_as_ci?(env) env.key? "BITBUCKET_BUILD_NUMBER"