diff --git a/.github/workflows/copybara.yaml b/.github/workflows/copybara.yaml new file mode 100644 index 0000000..e69de29 diff --git a/copy.bara.sky b/copy.bara.sky new file mode 100644 index 0000000..4de7a07 --- /dev/null +++ b/copy.bara.sky @@ -0,0 +1,27 @@ +# This config file is used for syncing changes in sbv3 with the switchboard-sdk mirror repo. + +sbv3RepoUrl = "https://github.com/switchboard-xyz/sbv3.git" +switchboardSdkRepoUrl = "https://github.com/switchboard-xyz/switchboard-sdk" + +# switchboard-sdk -> sbv3 monorepo PR +core.workflow( + name = "default", + origin = git.github_pr_origin( + url = switchboardSdkRepoUrl, + ), + + destination = git.github_pr_destination( + url = sbv3RepoUrl, + ), + origin_files = glob([ + "javascript/on-demand/**", + "rust/switchboard-on-demand/**", + "rust/switchboard-on-demand-client/**" + ]), + destination_files = glob([ + "javascript/on-demand/**", + "rust/switchboard-on-demand/**", + "rust/switchboard-on-demand-client/**" + ]), + authoring = authoring.pass_thru("Copybara ") +) \ No newline at end of file