Skip to content

Commit

Permalink
Merge pull request #16 from UBC-STAT/git_setup_updates
Browse files Browse the repository at this point in the history
Update github instructions in course setup document
  • Loading branch information
gpleiss authored Aug 31, 2024
2 parents cd21eb0 + ff75619 commit aa0b201
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions course-setup.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit aa0b201

Please sign in to comment.