-
Notifications
You must be signed in to change notification settings - Fork 572
[group-assignment] 1 maintainer of GH org randomly added to created teams #2553
Description
Describe the bug
During the automated creation of GitHub-classroom repositories for group assignments, one teacher (maintainer) is randomly added to each created GitHub team.
Cc @jochy FYI
To Reproduce
Steps to reproduce the behavior:
- Go to https://classroom.github.com/classrooms
- Click on an existing classroom within a GitHub organization (say,
https://github.com/GHOrgName) - Define a group assignment (e.g. like screenshot below, with 3 as the max. number of members)
- Share the corresponding invitation link (
https://classroom.github.com/g/XXXXXXXX) - Wait that the students create/join teams
- Look at the page
https://github.com/orgs/GHOrgName/teams
Expected behavior
The members of the teams match those of the group-assignment in https://classroom.github.com/classrooms/
Actual behavior:
One teacher is randomly added to each of the created teams, so that for example I ended up being added to 4 teams (see screenshot below).
Screenshots
in the particular case of:
- https://classroom.github.com/classrooms/23236164-master-2-developpement-logiciel-ivvq/group-assignments/ivvq-tp-travis
- https://github.com/orgs/M2DL/teams
Anyway, if the behavior I described above is not a bug but the (new) expected behavior, as per the principle of least surprise I believe it'd be more natural to be able to customize this as an opt-in(?)
Additional context
I don't know if this is related, maybe not, so in this case please ignore that last remark:
during the session, one student was not able to join a team https://github.com/orgs/M2DL/teams/gmt through GitHub Classroom: when he clicked on "Join" an error message was triggered (we didn't make a screenshot of that, sorry)… so I had to add him manually in https://github.com/orgs/M2DL/teams/gmt/members

