diff --git a/.github/actions/setup-env/action.yml b/.github/actions/setup-env/action.yml index febd1f4b81d..63af914878a 100644 --- a/.github/actions/setup-env/action.yml +++ b/.github/actions/setup-env/action.yml @@ -32,10 +32,11 @@ runs: if: inputs.setup_python == 'true' uses: actions/setup-python@v5 with: - # Ensure that it matches `python_version` field in the following files: - # - `automations/python/Pipfile` - # - `dead_links/Pipfile` - python-version: "3.11" + # Ensure that it matches the `requires-python` field in various + # `pyproject.toml` files. + python-version: | + 3.11 + 3.12 - name: Setup global Python deps if: inputs.setup_python == 'true' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dee1cf5eaa8..d3c37864be1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -137,7 +137,7 @@ repos: language: system pass_filenames: false stages: - - push + - pre-push - id: render-release-drafter name: render-release-drafter