fastlane/lib/fastlane/actions/create_pull_request.rb in fastlane-2.185.0 vs fastlane/lib/fastlane/actions/create_pull_request.rb in fastlane-2.185.1
- old
+ new
@@ -163,36 +163,31 @@
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"],
default_value_dynamic: true,
- is_string: true,
conflicting_options: [:api_bearer],
optional: true),
FastlaneCore::ConfigItem.new(key: :api_bearer,
env_name: "GITHUB_PULL_REQUEST_API_BEARER",
description: "Use a Bearer authorization token. Usually generated by Github Apps, e.g. GitHub Actions GITHUB_TOKEN environment variable",
sensitive: true,
code_gen_sensitive: true,
- is_string: true,
conflicting_options: [:api_token],
optional: true,
default_value: nil),
FastlaneCore::ConfigItem.new(key: :repo,
env_name: "GITHUB_PULL_REQUEST_REPO",
description: "The name of the repository you want to submit the pull request to",
- is_string: true,
optional: false),
FastlaneCore::ConfigItem.new(key: :title,
env_name: "GITHUB_PULL_REQUEST_TITLE",
description: "The title of the pull request",
- is_string: true,
optional: false),
FastlaneCore::ConfigItem.new(key: :body,
env_name: "GITHUB_PULL_REQUEST_BODY",
description: "The contents of the pull request",
- is_string: true,
optional: true),
FastlaneCore::ConfigItem.new(key: :draft,
env_name: "GITHUB_PULL_REQUEST_DRAFT",
description: "Indicates whether the pull request is a draft",
type: Boolean,
@@ -208,24 +203,20 @@
type: Numeric,
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,
default_value_dynamic: true,
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`)",
- is_string: true,
default_value: 'master',
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),
FastlaneCore::ConfigItem.new(key: :assignees,
env_name: "GITHUB_PULL_REQUEST_ASSIGNEES",