lib/danger/ci_source/xcode_cloud.rb in danger-9.1.0 vs lib/danger/ci_source/xcode_cloud.rb in danger-9.2.0
- old
+ new
@@ -1,18 +1,18 @@
module Danger
# ### CI Setup
#
- # In order to work with Xcode Cloud and Danger, you will need to add `bundle exec danger` to
+ # In order to work with Xcode Cloud and Danger, you will need to add `bundle exec danger` to
# the `ci_scripts/ci_post_xcodebuild.sh` (Xcode Cloud's expected filename for a post-action build script).
# More details and documentation on Xcode Cloud configuration can be found [here](https://developer.apple.com/documentation/xcode/writing-custom-build-scripts).
- #
+ #
# ### Token Setup
#
- # You will need to add the `DANGER_GITHUB_API_TOKEN` to your build environment.
- # If running on GitHub Enterprise, make sure you also set the expected values for
+ # You will need to add the `DANGER_GITHUB_API_TOKEN` to your build environment.
+ # If running on GitHub Enterprise, make sure you also set the expected values for
# both `DANGER_GITHUB_API_HOST` and `DANGER_GITHUB_HOST`.
- #
+ #
class XcodeCloud < CI
def self.validates_as_ci?(env)
env.key? "CI_XCODEBUILD_ACTION"
end
@@ -21,11 +21,11 @@
end
def supported_request_sources
@supported_request_sources ||= [
Danger::RequestSources::GitHub,
- Danger::RequestSources::GitLab,
- Danger::RequestSources::BitbucketCloud,
+ Danger::RequestSources::GitLab,
+ Danger::RequestSources::BitbucketCloud,
Danger::RequestSources::BitbucketServer
]
end
def initialize(env)