This is a mostly automated solution to get around the current GitHub Classrooms bug that leaves students unable to access assignments once they accept them.
Credit to hugo-valle for the original run.sh script.
Directions for use:
- Fork this repository. It doesn't need to be public but I don't think there's anything here to exploit.
- Create a repository secret
CLASSROOM_ORG_PAT. This should be a GitHub PAT with repo management permissions for an account with admin access to the Classrooms organization. - Edit
classroom-config.ymlto include your GitHub Classrooms organization name and the list of assignment names.
The script will run every hour on the hour and should reinvite anyone with a corrupted invite. You can also trigger it from the workflows tab.