Repository settings don't persist when copied with invitation link?

(Randy Johnson) #1

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?

1 Like
(Chris Cannon) #2

@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!

1 Like
(Randy Johnson) #3

That looks great, thanks!