lib/danger/ci_source/circle.rb in danger-5.5.9 vs lib/danger/ci_source/circle.rb in danger-5.5.10
- old
+ new
@@ -51,10 +51,10 @@
api = CircleAPI.new
api.pull_request?(env)
end
def supported_request_sources
- @supported_request_sources ||= [Danger::RequestSources::GitHub]
+ @supported_request_sources ||= [Danger::RequestSources::GitHub, Danger::RequestSources::BitbucketCloud]
end
def initialize(env)
self.repo_url = env["CIRCLE_REPOSITORY_URL"]
pr_url = env["CI_PULL_REQUEST"] || env["CIRCLE_PULL_REQUEST"]