lib/danger/ci_source/bitrise.rb in danger-5.5.6 vs lib/danger/ci_source/bitrise.rb in danger-5.5.7
- old
+ new
@@ -27,10 +27,14 @@
def self.validates_as_pr?(env)
return !env["BITRISE_PULL_REQUEST"].to_s.empty?
end
def supported_request_sources
- @supported_request_sources ||= [Danger::RequestSources::GitHub, Danger::RequestSources::GitLab]
+ @supported_request_sources ||= [
+ Danger::RequestSources::GitHub,
+ Danger::RequestSources::GitLab,
+ Danger::RequestSources::BitbucketServer
+ ]
end
def initialize(env)
self.pull_request_id = env["BITRISE_PULL_REQUEST"]
self.repo_url = env["GIT_REPOSITORY_URL"]