Phase 1 - Award a GitLab badge to all GitLab Team members, including revocation if they are no longer a GitLab Team member
Now we're live with achievements and Core team members have their awards... one of the next achievements we should look to roll out if "GitLab Team Member"
In order to do this we need an automated way to add/remove the achievement.
Probably a scheduled pipeline running once per day would suffice.
At the moment, I'd probably see it as living in https://gitlab.com/gitlab-org/quality/toolbox/
The script would need to:
- grab all issued userAchievements for the "GitLab Team Member" achievement (not yet created) via GraphQL (paging would be needed)
- grab the team member yml
- compare the lists
- awarding the achievements to anyone in the yml but not with the userAchievement
- revoking the achievements from anyone with the userAchievement but not in the yml
Edited by Lee Tickett