Skip to content

Ability to default PRs to an upstream #2318

@Trenly

Description

@Trenly

Describe the feature or problem you'd like to solve

Many enterprises or Open Source require you to fork the repo and make PRs from your fork. Instead of defaulting PRs to the fork, I'd like an option to open them in the upstream on my behalf

Proposed solution

Whatever repo is set with 'gh repo set-default` (assuming the user also uses GH CLI) can be referenced for other open issues or pull requests. Being able to set the default repo for pull requests still allows the agent to work in the worktree of the fork but contribute to the end repo the user will eventually need to PR the code into

Example prompts or workflows

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions