This is an automated email from the ASF dual-hosted git repository. skrawcz pushed a commit to branch stefan/fix-pre-commit-ci in repository https://gitbox.apache.org/repos/asf/burr.git
commit bc8b8d3ecd0957ded06cda1f2f1a927303ea38b9 Author: Stefan Krawczyk <[email protected]> AuthorDate: Sun Nov 9 20:28:22 2025 -0800 Removes pre-commit action in favor of manual version Due to security restrictions it seems like this doesn't run, so we need to update it to work. --- .github/workflows/python-package.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ac9eac44..e1f18de7 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -35,7 +35,17 @@ jobs: steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 - - uses: pre-commit/[email protected] + with: + python-version: '3.12' + - name: Cache pre-commit environments + uses: actions/cache@v3 + with: + path: ~/.cache/pre-commit + key: pre-commit-${{ runner.os }}-${{ hashFiles('.pre-commit-config.yaml') }} + - name: Install pre-commit + run: pip install pre-commit + - name: Run pre-commit hooks + run: pre-commit run --all-files test: runs-on: ubuntu-latest
