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: Skip alpha/beta/rc versions in pre-commit autoupdate

LearningCircuitf8d5c6552af5
diff --git a/.github/workflows/update-precommit-hooks.yml b/.github/workflows/update-precommit-hooks.yml
index 4f7cc260f1..31061b53f3 100644
--- a/.github/workflows/update-precommit-hooks.yml
+++ b/.github/workflows/update-precommit-hooks.yml
@@ -35,6 +35,22 @@ jobs:
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
+
- name: 📝 Check for changes
id: verify-changed-files
run: |