WIP: Harmonize branch protection rules
@mberz is already working on this.
Since Feb 6, 2026.
Assessment
This issue has not been assessed yet.
Description
Repository rules
We would like harmonize repository rules across repositories.
First step is to agree on a set of rules:
https://github.com/organizations/pyfar/settings/rules
Strongly suggested based on current rules (see below)
- Restrict deletions
- Require a PR before merging
- require 2 reviews
- Require workflows to pass before merge
- Require up to date with base branch
- Block force pushes
Additionally suggested
- Require linear history
- Require approval most recent push
Additional considerations
- Define rules to specify which repos and branches are to be affected.
Branch protection rules
pyfar
- Require PR to merge
- require 2 reviews
- Require status checks to pass
- Allow force pushes by everyone
spharpy
- Require PR to merge
- require 1 review
- Require status checks to pass
- require branches to be up to date
- Allow force pushes by everyone
pyrato
- Require PR to merge
- require 2 reviews
- Allow force pushes by everyone
- Dominant language
- Python
- Stars
- 3
- Forks
- 2
- Avg merge
- 3d 23h
- Merged PRs (30d)
- 2
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from pyfar/gallery
-
maintenance
Difficulty 2/5 Half a day Newbie friendliness 72/100
-
Add documentation on GitHub tokens and secrets to contribution guidelinesMay be free again @hoyer-a claimed this 45 days ago, and no pull request is open. Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
AI Coding AgentsPossibly taken @hoyer-a claimed this 1 day ago. Open
-
Integrate Github Apps as a longterm replacement for Personal Access TokensMay be free again @hoyer-a claimed this 45 days ago, and no pull request is open. OpenCI enhancement
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Kludex/python-multipart#375 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 3 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 11 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
FuRongJun-1999/dsh-memory#1000 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
gcivil-nyu-org/team5-mon-fall26#154 ·
Maintainers usually reply within 1 day