fastlane/lib/fastlane/actions/create_pull_request.rb in fastlane-2.71.0.beta.20171221010003 vs fastlane/lib/fastlane/actions/create_pull_request.rb in fastlane-2.71.0.beta.20171222010003

- old
+ new

@@ -50,10 +50,11 @@ [ FastlaneCore::ConfigItem.new(key: :api_token, env_name: "GITHUB_PULL_REQUEST_API_TOKEN", description: "Personal API Token for GitHub - generate one at https://github.com/settings/tokens", sensitive: true, + code_gen_sensitive: true, default_value: ENV["GITHUB_API_TOKEN"], is_string: true, optional: false), FastlaneCore::ConfigItem.new(key: :repo, env_name: "GITHUB_PULL_REQUEST_REPO", @@ -72,10 +73,11 @@ optional: true), FastlaneCore::ConfigItem.new(key: :head, env_name: "GITHUB_PULL_REQUEST_HEAD", description: "The name of the branch where your changes are implemented (defaults to the current branch name)", is_string: true, + code_gen_sensitive: true, default_value: Actions.git_branch, optional: true), FastlaneCore::ConfigItem.new(key: :base, env_name: "GITHUB_PULL_REQUEST_BASE", description: "The name of the branch you want your changes pulled into (defaults to `master`)", @@ -84,9 +86,10 @@ optional: true), FastlaneCore::ConfigItem.new(key: :api_url, env_name: "GITHUB_PULL_REQUEST_API_URL", description: "The URL of GitHub API - used when the Enterprise (default to `https://api.github.com`)", is_string: true, + code_gen_default_value: 'https://api.github.com', default_value: 'https://api.github.com', optional: true) ] end