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: resolve actionlint security violations in version_check.yml

LearningCircuit80541814a22b
diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.yml
index 8822801fa5..fd60ad4f9c 100644
--- a/.github/workflows/version_check.yml
+++ b/.github/workflows/version_check.yml
@@ -21,7 +21,12 @@ jobs:
with:
fetch-depth: 0
token: ${{ secrets.PAT_TOKEN }}
- ref: ${{ github.head_ref }}
+
+ - name: Checkout PR branch
+ env:
+ HEAD_REF: ${{ github.head_ref }}
+ run: |
+ git checkout ${HEAD_REF}
- name: Set up Python
uses: actions/setup-python@v6
@@ -30,8 +35,11 @@ jobs:
- name: Check and auto-bump version
if: "!contains(github.event.head_commit.message, 'chore: auto-bump version')"
+ env:
+ HEAD_REF: ${{ github.head_ref }}
+ BASE_REF: ${{ github.base_ref }}
run: |
- if ! git diff origin/${{ github.base_ref }}..HEAD -G"__version__" | grep -E '\+.*__version__.*='; then
+ if ! git diff origin/${BASE_REF}..HEAD -G"__version__" | grep -E '\+.*__version__.*='; then
echo "Version not updated. Auto-bumping patch version..."
# Get current version
@@ -61,7 +69,7 @@ jobs:
git commit -m "chore: auto-bump version to $new_version"
# Push to the PR branch
- git push origin ${{ github.head_ref }}
+ git push origin ${HEAD_REF}
echo "Version automatically bumped to $new_version"
else