lib/geet/git/repository.rb in geet-0.4.0 vs lib/geet/git/repository.rb in geet-0.4.1
- old
+ new
@@ -72,14 +72,14 @@
def close_milestone(number)
attempt_provider_call(:Milestone, :close, number, api_interface)
end
- def create_pr(title, description, head, base)
+ def create_pr(title, description, head, base, draft)
confirm(LOCAL_ACTION_ON_UPSTREAM_REPOSITORY_MESSAGE) if local_action_on_upstream_repository? && @warnings
confirm(ACTION_ON_PROTECTED_REPOSITORY_MESSAGE) if action_on_protected_repository? && @warnings
- attempt_provider_call(:PR, :create, title, description, head, api_interface, base)
+ attempt_provider_call(:PR, :create, title, description, head, api_interface, base, draft: draft)
end
def prs(owner: nil, head: nil, milestone: nil)
attempt_provider_call(:PR, :list, api_interface, owner: owner, head: head, milestone: milestone)
end