pantograph/lib/pantograph/actions/danger.rb in pantograph-0.1.8 vs pantograph/lib/pantograph/actions/danger.rb in pantograph-0.1.10

- old
+ new

@@ -52,22 +52,22 @@ is_string: false, default_value: false), PantographCore::ConfigItem.new(key: :danger_id, env_name: "FL_DANGER_ID", description: "The identifier of this Danger instance", - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :dangerfile, env_name: "FL_DANGER_DANGERFILE", description: "The location of your Dangerfile", - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :github_api_token, env_name: "FL_DANGER_GITHUB_API_TOKEN", description: "GitHub API token for danger", sensitive: true, - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :fail_on_errors, env_name: "FL_DANGER_FAIL_ON_ERRORS", description: "Should always fail the build process, defaults to false", is_string: false, @@ -86,20 +86,20 @@ optional: true, default_value: false), PantographCore::ConfigItem.new(key: :base, env_name: "FL_DANGER_BASE", description: "A branch/tag/commit to use as the base of the diff. [master|dev|stable]", - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :head, env_name: "FL_DANGER_HEAD", description: "A branch/tag/commit to use as the head. [master|dev|stable]", - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :pr, env_name: "FL_DANGER_PR", description: "Run danger on a specific pull request. e.g. \"https://github.com/danger/danger/pull/518\"", - is_string: true, + type: String, optional: true) ] end def self.is_supported?(platform)