Skip to content

Commit 65522b2

Browse files
authored
fix: avoid getting repositories that one does not own (#23)
1 parent 5947a1c commit 65522b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/organization.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ launch_org_migrations <- function(username, user_type, extra_repos, keep = chara
105105
per_page = 100,
106106
.limit = Inf
107107
) |>
108+
purrr::keep(\(x) startsWith(x[["full_name"]], sprintf("%s/", username))) |>
108109
purrr::map_chr("name")
109110
}
110111

0 commit comments

Comments
 (0)