Skip to content

Automatically add upstream during PR creation #2439

@burkeholland

Description

@burkeholland

When creating a new PR, we should automatically create an upstream for the user if they do not already have one defined. Proposed workflow....

  1. User creates new PR
  2. Extension prompts them for origin or "parent"
  3. User selects "parent"
  4. Extension prompts with: "Submitting a PR requires that the parent repo be added as an "upstream" remote. Would you like to add it as the upstream now?" (Yes / Cancel - kills the whole workflow)
  5. User selects "Yes"
  6. Parent is added as upstream
  7. PR is created

Linking https://github.com/microsoft/vssaas-planning/issues/2176

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions