A template to be used for all our future repositories.
-
Go to gitignore.io and pick the language, IDE and tools you are using. Update
.gitignoreaccordingly, commit, and push. -
Create
developmentbranch:git checkout -b developmentandgit push --set-upstream origin development. We are usingdevelopmentas default branch andmainfor stable releases only. -
Go to
Settingstabs:- Enable Discussions under
Optionstab. - Only allow
squash mergingunder theMerge buttonsection.
- Enable Discussions under
-
Under
Manage accesstab, give access to dev teams. Please add outside collaborators one by one and only add them to teams if you really want them to show up in the GitHub organization. -
Under
Security & analysistab, double check that all features are enabled. This should happen by default but better save than sorry. -
Under
Branchestab- switch the default branch to
development. - Set the following branch protection rules for
developmentandmain:Require pull request reviews before mergingto 1 fordevelopmentand 2 formain.- Tick
Dismiss stale pull request approvals when new commits are pushed.
- switch the default branch to
-
In the repo view, edit the about section and add tags. Leave the website empty for now.
-
Edit or remove
codeql-analysis.ymlworkflow or remove if not applicable.