Skip to content

Commit

Permalink
Update switch_sync_repo.R
Browse files Browse the repository at this point in the history
  • Loading branch information
jhudsl-robot committed Feb 9, 2022
1 parent 06db4ea commit 8ecbda9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/switch_sync_repo.R
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ sync_file_path <- file.path(root_dir, ".github", "test-sync.yml")

yaml_contents <- yaml::yaml.load_file(sync_file_path)

# Switch out repo
# Only keep first grouping
yaml_contents$group <- yaml_contents$group[[1]]

# Switch out repo
yaml_contents$group$repos <- opt$repo

yaml::write_yaml(yaml_contents, sync_file_path)

0 comments on commit 8ecbda9

Please sign in to comment.