lib/danger/ci_source/xcode_server.rb in danger-4.0.1 vs lib/danger/ci_source/xcode_server.rb in danger-4.0.2
- old
+ new
@@ -25,10 +25,13 @@
value = env["XCS_BOT_NAME"]
!value.nil? && value.include?("BuildaBot")
end
def supported_request_sources
- @supported_request_sources ||= [Danger::RequestSources::GitHub]
+ @supported_request_sources ||= [
+ Danger::RequestSources::GitHub,
+ Danger::RequestSources::BitbucketServer
+ ]
end
def initialize(env)
bot_name = env["XCS_BOT_NAME"]
return if bot_name.nil?