Method: Geet::Git::Repository#create_pr
- Defined in:
- lib/geet/git/repository.rb
#create_pr(title, description, head, base, draft) ⇒ Object
73 74 75 76 77 78 |
# File 'lib/geet/git/repository.rb', line 73 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, draft: draft) end |