Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
alexmaguilar25 opened this issue Sep 1, 2023 · 0 comments
Closed

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

alexmaguilar25 opened this issue Sep 1, 2023 · 0 comments

Comments

@alexmaguilar25
Copy link

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 <[email protected]>"),
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant