Skip to content

Commit

Permalink
add copybara workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gesarki committed Nov 26, 2024
1 parent ed2cadf commit 6a3a554
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Empty file added .github/workflows/copybara.yaml
Empty file.
27 changes: 27 additions & 0 deletions copy.bara.sky
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>")
)

0 comments on commit 6a3a554

Please sign in to comment.