Skip to content

Commit

Permalink
🐛 Collaborator role permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ebullient committed Jun 16, 2024
1 parent 1429748 commit b705beb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,8 @@ public void addCollaborators(GHRepository repo, List<GHUser> user) {
return;
}
execGitHubSync((gh, dryRun) -> {
repo.addCollaborators(user);
repo.addCollaborators(user,
GHOrganization.RepositoryRole.from(GHOrganization.Permission.PULL));
return null;
});
}
Expand Down

0 comments on commit b705beb

Please sign in to comment.