For the team leader:
- Go to project template
- Click
Use this templateandCreate a new repository. - In the
Ownersection, choose your own account. - In the
Repository namesection, putees-scientific-software-engineering. - Put something meaningful in the
description. - Then create the repository
The team leader should invite your teammate as collaborator.
The other teammate should accept the invitation.
Follow the ruleset instructions to create a branch ruleset. Specifically, use the following options:
- Ruleset name: main protection
- Enforcement status: active
- Target branches: Add target -> include default branch
- Enable the following rules
- Restrict creations
- Restrict deletions
- Require a pull request before merging
- Required approvals: 1
- Dismiss stale pull request approvals when new commits are pushed
- Require conversation resolution before merging
- Require status checks to pass
- Require branches to be up to date before merging
- Status checks that are required -> Add checks -> manually type
build-and-testand select from the list
- Block force pushes