githubtraining / training-manual

Home of the words in the GitHub Training Manual and teaching scripts.
https://githubtraining.github.io/training-manual
Creative Commons Attribution 4.0 International
267 stars 266 forks source link

Don't set repos to private on a free-org #382

Open jessehouwing opened 1 year ago

jessehouwing commented 1 year ago

I ran the class on a free github organisation. I shouldn't have...

The scripts set most repos to private, which in turn turns off pages, advanced security, dependabot and a bunch of branch protection options.

I manually set all repos back to public, in which case you can finish the whole class without issues. Ideally the script should check the license status of the org and be clever, or warn that the class must run in a paid org.