Standard repository ruleset - fish-shop/discussions GitHub Wiki
Our standard repository ruleset is used across fish-shop projects to enforce a number of rules for the default repository branch. The configuration of this ruleset is detailed in the sections that follow.
Bypass list
- Organisation admin - Always allow
- Repository admin - Allow for pull requests only
- Maintainers - Allow for pull requests only
- Dependabot - Allow for pull requests only
Targets
- Default branch
Branch rules
- Restrict creations
- Restrict updates
- Restrict deletions
- Require signed commits
- Require a pull request before merging
- Require 1 approval
- Dismiss stale pull request approvals when new commits are pushed
- Require review from Code Owners
- Require approval of the most recent reviewable push
- Require conversation resolution before merging
- Require status checks to pass
- Require branches to be up to date before merging
- No required checks (these should be specified when importing the ruleset)
- Block force pushes