Skip to content

Creating a PR on the destination isn't working #252

@alexmaguilar25

Description

@alexmaguilar25

I'm trying to use the --github-destination-pr-create flag, and --github-destination-pr-branch flags together. While it creates the PR branch, I still have to manually go to the repo to create the PR for that branch. Is there a reason why? Here are the versions:

commit = 609fbe3
sha256 = ddb9e20564fc3153da515ebb197683bb66aa1c06474ebd94f06f333bb263c090

Here is a rough idea of what my config file looks like

core.workflow(
    name = "default",
    origin = git.origin(
        url = "https://github.com/sorcerepo.git",
        ref = "dev"
    ),
    destination = git.github_pr_destination(
        url = "https://github.com/test-library-copy.git",
        pr_branch = "branch_testing",
        title = "Copybara Sync",
    ),
    destination_files = glob(["**"]),
    authoring = authoring.pass_thru("Default email <test@email.com>"),
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions