-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Echo false in examples * Updating wiki
- Loading branch information
Showing
6 changed files
with
47 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,23 @@ | ||
|
||
For more information on these settings see instructions in the [getting started GitHub wiki pages](https://github.com/jhudsl/OTTR_Template/wiki/Setting-up-your-repository-settings). | ||
|
||
### Needed settings: | ||
For more information on these settings see instructions in the [getting started GitHub wiki pages](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course). | ||
|
||
- [ ] This course repository is set to `public`. | ||
- [ ] [Add the `jhudsl-robot` as a collaborator to your repository.](https://github.com/jhudsl/OTTR_Template/wiki/Setting-up-your-repository-settings#add-jhudsl-robot-as-a-collaborator). | ||
- [ ] [GH_PAT has been set up as a GitHub secret](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#6-set-up-your-github-personal-access-token) | ||
|
||
#### Turn on GitHub pages | ||
- [ ] Go to `Settings` > `Pages`. Underneath `Source`, choose `main` for the branch and select the `docs` folder. Then click `Save`. | ||
- [ ] Check `Enforce HTTPS`. | ||
- [ ] GitHub pages is turned on | ||
- [ ] Go to `Settings` > `Pages`. Underneath `Source`, choose `main` for the branch and select the `docs` folder. Then click `Save`. | ||
- [ ] Check `Enforce HTTPS`. | ||
|
||
#### Set protections for main branch | ||
\* Don't set these settings right away! Wait a few minutes after starting your repository. | ||
- [ ] [Github secret `GH_PAT` has been set](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#6-set-up-your-github-personal-access-token) | ||
`Name`: `GH_PAT` | ||
`value`: A personal access token [following these instructions](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token#creating-a-token). | ||
Underneath `Select scopes`, check both `repo` and `workflow`. | ||
Then copy the PAT and save as the value. | ||
|
||
- [ ] `main` branch has been set up: | ||
- [ ] `Require pull request reviews before merging` box is checked. | ||
- [ ] `Require status checks to pass before merging` box is checked. | ||
- [ ] Underneath that `Require branches to be up to date before merging` box is checked. | ||
- [ ] Click `Save` at the bottom of the page! | ||
- [ ] [Set branch protections settings](https://github.com/jhudsl/OTTR_Template/wiki/Start-a-new-course#9-set-up-branch-rules) | ||
- [ ] `main` branch has been set up: | ||
- [ ] `Require pull request reviews before merging` box is checked. | ||
- [ ] `Require status checks to pass before merging` box is checked. | ||
- [ ] Underneath that `Require branches to be up to date before merging` box is checked. | ||
- [ ] Click `Save` at the bottom of the page! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters