[bug] GitHub Classroom Source Importer stopped working

Looks like accepting of GitHub Classroom assignments stopped working if the assignments are using Source Importer.

We are getting the following error:

We were not able to import you the starter code to your Assignment, please try again. (You are forbidden from performing this action on github.com)

This happens with newly created assignment:

https://classroom.github.com/classrooms/42701172-cpp-practice-classroom/assignments/cpp-classroom-2021

and with old assignments that worked about 6 months ago, e.g.:

https://classroom.github.com/classrooms/42701172-cpp-practice-classroom/assignments/2019-ha4-dict

In GitHub org Audit log I can see that the repository was successfully created (and removed, apparently after failing to import source code):

Recent events
@github-classroom-app	
github-classroom-app[bot] – integration_installation.repositories_removed
Removed repositories from the GitHub Classroom App integration.
Unknown location 6 minutes ago
@github-classroom-app	
github-classroom-app[bot] – repo.destroy
Deleted the repository cpp-practice/2019-ha4-dict-rutskyv
Unknown location 6 minutes ago
@github-classroom-app@rutskyv	
github-classroom-app[bot] – repo.add_member
Added rutskyv to the cpp-practice/2019-ha4-dict-rutskyv repository
Unknown location 6 minutes ago
@github-classroom-app	
github-classroom-app[bot] – repo.create
Created the repository cpp-practice/2019-ha4-dict-rutskyv
Unknown location 6 minutes ago
@github-classroom-app	
github-classroom-app[bot] – integration_installation.repositories_added
Added repositories to the GitHub Classroom App integration.
Unknown location 6 minutes ago

(sorry, can’t add seconds screenshot in a first post as being a new member)

Assignments that use Template repository works as expected β€” they can be accepted and repository is properly created, so it looks to me like there is an issue with Source Importer.

1 Like