I have an assignment set up with some protection rules on the master branch, but when they are copied using the invitation link, the repository settings don’t seem to be copied over.
Is there some way to get repository settings to persist when the students copy them with invitation links?
@johnsonra while GitHub Classroom does not currently support this (See #846), there is actually a workaround for this in the form of the Settings Probot. This GitHub app allows you to make very fine-grained adjustments to student repositories, including default branch, protected branches, issue tags, and more by adding a
settings.yml file to the base repository. Hope this helps!
That looks great, thanks!