Skip to content

Commit

Permalink
Update contributors-data.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Aveline-art authored Aug 3, 2021
1 parent 91c4760 commit 266dfbd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions github-actions/github-data/contributors-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,13 +126,14 @@ async function removeInactiveMembers(recentContributors){
if (!recentContributors[username]){
// Remove contributor from a team if they don't pass additional checks in 'toRemove' function
if(await toRemove(username)){

// TODO Remove the commented out code after testing
/*
await octokit.request('DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}', {
org: org,
team_slug: team,
username: username,
})

*/
removedMembers.push(username)
}
}
Expand Down

0 comments on commit 266dfbd

Please sign in to comment.