Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: Use pre-commit-update for stable versions only

LearningCircuitfa853821f0ec
diff --git a/.github/workflows/update-precommit-hooks.yml b/.github/workflows/update-precommit-hooks.yml
index 31061b53f3..0ce3637bc1 100644
--- a/.github/workflows/update-precommit-hooks.yml
+++ b/.github/workflows/update-precommit-hooks.yml
@@ -26,30 +26,15 @@ jobs:
with:
python-version: '3.x'
- - name: 📦 Install pre-commit
+ - name: 📦 Install pre-commit-update
run: |
python -m pip install --upgrade pip
- pip install pre-commit
+ pip install pre-commit-update
- - name: 🔄 Update pre-commit hooks
+ - name: 🔄 Update pre-commit hooks (stable versions only)
run: |
- pre-commit autoupdate
-
- - name: 🚫 Revert alpha/beta/rc versions
- run: |
- # Check if any pre-release versions were introduced
- if grep -E 'rev: v[0-9]+\.[0-9]+\.[0-9]+-(alpha|beta|rc)' .pre-commit-config.yaml; then
- echo "⚠️ Pre-release versions detected, reverting those changes..."
- # Restore original versions for repos with alpha/beta/rc
- git checkout HEAD -- .pre-commit-config.yaml
- # Re-run autoupdate but skip the problematic repos
- pre-commit autoupdate --repo https://github.com/pre-commit/pre-commit-hooks
- pre-commit autoupdate --repo https://github.com/gitleaks/gitleaks
- pre-commit autoupdate --repo https://github.com/shellcheck-py/shellcheck-py
- pre-commit autoupdate --repo https://github.com/astral-sh/ruff-pre-commit
- # Skip mirrors-eslint if it would update to a pre-release
- echo "ℹ️ Skipped mirrors-eslint to avoid pre-release version"
- fi
+ # pre-commit-update skips alpha/beta/rc versions by default
+ pre-commit-update
- name: 📝 Check for changes
id: verify-changed-files