diff --git a/course-setup.qmd b/course-setup.qmd index 505080e..1996856 100644 --- a/course-setup.qmd +++ b/course-setup.qmd @@ -13,6 +13,10 @@ of Stat 406. ## Create a GitHub.com organization * This is free for faculty with instructor credentials. + * **Note** make sure you upgrade the organization to a "Github Team." + If you have registered your instructor credentials with Github, + you should be able to upgrade for free from the [Github Global Campus](https://education.github.com/globalcampus/teacher) page + under "Upgrade your academic organizations." * Allows more comprehensive GitHub actions, PR templates and CODEOWNER behaviour than the UBC Enterprise version (last I checked) * Downside is getting students added (though we include R scripts for this) @@ -103,6 +107,12 @@ junk into these repos. when the PR is opened. * Under Settings > General, select "Template repository". This makes it easier to duplicate to the student repos. +* Setup branch protection rules for the `main` branch. + Create a new ruleset for default branches, and select the following: + * Require a pull request before merging + * Require review from Code Owners + * Block force pushes \ + I recommend adding the @TAs team to the bypass list. ### Labs