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

- old
+ new

@@ -103,49 +103,49 @@ 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, + type: String, optional: false), PantographCore::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, + type: String, optional: false), PantographCore::ConfigItem.new(key: :title, env_name: "GITHUB_PULL_REQUEST_TITLE", description: "The title of the pull request", - is_string: true, + type: String, optional: false), PantographCore::ConfigItem.new(key: :body, env_name: "GITHUB_PULL_REQUEST_BODY", description: "The contents of the pull request", - is_string: true, + type: String, optional: true), PantographCore::ConfigItem.new(key: :labels, env_name: "GITHUB_PULL_REQUEST_LABELS", description: "The labels for the pull request", type: Array, optional: true), PantographCore::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, + type: String, code_gen_sensitive: true, default_value: Actions.git_branch, default_value_dynamic: true, optional: true), PantographCore::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, + type: String, default_value: 'master', optional: true), PantographCore::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, + type: String, code_gen_default_value: 'https://api.github.com', default_value: 'https://api.github.com', optional: true), PantographCore::ConfigItem.new(key: :assignees, env_name: "GITHUB_PULL_REQUEST_ASSIGNEES",