You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update Branch Protection Rules for release branches post Python 3.9 removal #179
The Branch Protection rules for our release branches have been updates.
Old:
The existing branch protection rules for the Release branches were set to "release/*", which doesn't apply any longer.
New:
[NOT DONE] Create a branch release protection rules for future release branches (0.5, etc). This can't be done until the 0.5.0 branch is created. This fnmatch will look like:
[Done] Update the Branch Protection Rules for branches 0.1,0.2,0.3,0.4 to require Python 3.9 / 3.10 / 3.11. Note the revised fnmatch
syntax uses globbing patterns, not regex — similar to shell wildcards (This is what GitHub uses).
This makes the ruleset only apply to our 3.9 release branches:
Branch protection rules are updated, using the new GitHub Rulesets. As part of this I relaxed the actual branch protection rules on main to simply "Require a PR". All the meaningful rules are moved to the rulesets, as this seems the right long-term answer.
Rulesets have been created for:
default (main).
release/0.[1-4].*
release/0.[5-9].*
The 0.1 - 0.4 rules is requiring Python 3.9 / 3.10 / 3.11 builds to pass.
The 0.5 - 0.9 rule is requiring Pythin 3.10 / 11 / 12 / 13 / 14 to pass.
Activity
cleemullins commentedon Oct 20, 2025
The main branch protection rule has been updated to require newer vesions of Python - aligning with our build matrix.
cleemullins commentedon Oct 20, 2025
Branch protection rules are updated, using the new GitHub Rulesets. As part of this I relaxed the actual branch protection rules on main to simply "Require a PR". All the meaningful rules are moved to the rulesets, as this seems the right long-term answer.
Rulesets have been created for:
The 0.1 - 0.4 rules is requiring Python 3.9 / 3.10 / 3.11 builds to pass.
The 0.5 - 0.9 rule is requiring Pythin 3.10 / 11 / 12 / 13 / 14 to pass.