We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3b6a0e2 + 6f0343f commit a29a353Copy full SHA for a29a353
1 file changed
src/githubHelper.ts
@@ -113,6 +113,17 @@ export class GithubHelper {
113
}).catch(err => {
114
console.error(`Failed to fetch organization members: ${err}`);
115
});
116
+ } else {
117
+ githubApi.repos.listCollaborators({
118
+ owner: this.githubOwner,
119
+ repo: this.githubRepo,
120
+ }).then(collaborators => {
121
+ for (let collaborator of collaborators.data) {
122
+ this.members.add(collaborator.login);
123
+ }
124
+ }).catch(err => {
125
+ console.error(`Failed to fetch repository collaborators: ${err}`);
126
+ });
127
}
128
129
0 commit comments