Skip to content

Commit

Permalink
Fix branch protection min version.
Browse files Browse the repository at this point in the history
It has to to start with `py` like `NEWEST_PYTHON`.
  • Loading branch information
icemac committed Oct 15, 2024
1 parent 93bf545 commit 7565cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zope/meta/set_branch_protection_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def set_branch_protection(
with_pypy = meta_toml['python']['with-pypy']
oldest_python_version = meta_toml['python'].get('oldest-python',
OLDEST_PYTHON_VERSION)
oldest_python = oldest_python_version.replace('.', '')
oldest_python = f"py{oldest_python_version.replace('.', '')}"
with_windows = meta_toml['python']['with-windows']
with_macos = meta_toml['python']['with-macos']
required = ['linting']
Expand Down

0 comments on commit 7565cac

Please sign in to comment.