~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.
Python academiaanthropicarxivbravedeep-researchencryptionhome-automationhomeserverlocallocal-deep-researchlocal-llmmistralollamaopenaipubmedresearchresearch-toolretrieval-augmented-generationsearxngself-hosted
fix: use github-actions[bot] for version bump PRs (#1634)
LearningCircuit740ef6da4f30
diff --git a/.github/workflows/version_check.yml b/.github/workflows/version_check.ymlindex a1f4da4742..864cbd20ca 100644--- a/.github/workflows/version_check.yml+++ b/.github/workflows/version_check.yml@@ -36,13 +36,11 @@ jobs:with:egress-policy: audit- # zizmor: ignore[artipacked] - credentials needed for git push, no artifacts uploaded- name: Checkout codeuses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1with:fetch-depth: 2- token: ${{ secrets.PAT_TOKEN }}- persist-credentials: true # Required for git push+ persist-credentials: false- name: Check if version was bumped in this pushid: check@@ -73,16 +71,14 @@ jobs:run: |pdm self add pdm-bump- - name: Auto-bump patch version and create PR+ - name: Bump patch versionif: steps.check.outputs.needs_bump == 'true'- env:- GH_TOKEN: ${{ secrets.PAT_TOKEN }}+ id: bumprun: |- BRANCH_NAME="chore/auto-version-bump"-# Get current version before bump (prefer pdm, fallback to grep)current_version=$(pdm show --version 2>/dev/null || grep -oP '(?<=__version__ = ")[^"]*' src/local_deep_research/__version__.py)echo "Current version: $current_version"+ echo "current_version=$current_version" >> "$GITHUB_OUTPUT"# Bump patch version using pdm-bumppdm bump patch@@ -90,46 +86,25 @@ jobs:# Get new version after bump (prefer pdm, fallback to grep)new_version=$(pdm show --version 2>/dev/null || grep -oP '(?<=__version__ = ")[^"]*' src/local_deep_research/__version__.py)echo "New version: $new_version"+ echo "new_version=$new_version" >> "$GITHUB_OUTPUT"- # Configure git- git config --local user.email "[email protected]"- git config --local user.name "GitHub Action"-- # Fetch remote branches- git fetch origin-- # Delete remote branch if it exists (to start fresh from current main)- if git ls-remote --exit-code --heads origin "$BRANCH_NAME" > /dev/null 2>&1; then- echo "Deleting existing remote branch $BRANCH_NAME"- git push origin --delete "$BRANCH_NAME" || true- fi-- # Create and switch to the bump branch- git checkout -B "$BRANCH_NAME"-- # Commit changes- git add -A- git commit -m "chore: auto-bump version to $new_version"-- # Push to the branch- git push -u origin "$BRANCH_NAME" --force-- # Check if PR already exists- existing_pr=$(gh pr list --head "$BRANCH_NAME" --state open --json number --jq '.[0].number' || echo "")-- if [ -n "$existing_pr" ]; then- echo "PR #$existing_pr already exists, it has been updated with new changes"- echo "::notice::Updated existing PR #$existing_pr with version $new_version"- else- # Create new PR- pr_url=$(gh pr create \- --title "chore: auto-bump version to $new_version" \- --body "## Summary- - Auto-bump patch version: $current_version → $new_version-- This PR was automatically created by the version bump workflow.- Approve and merge to trigger a new release." \- --head "$BRANCH_NAME" \- --base main)- echo "::notice::Created PR: $pr_url for version $new_version"- fi+ # Use peter-evans/create-pull-request with GITHUB_TOKEN so the PR is created+ # by github-actions[bot] - this allows the repo owner to approve the PR+ - name: Create Pull Request+ if: steps.check.outputs.needs_bump == 'true'+ uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8+ with:+ token: ${{ secrets.GITHUB_TOKEN }}+ commit-message: "chore: auto-bump version to ${{ steps.bump.outputs.new_version }}"+ branch: chore/auto-version-bump+ delete-branch: true+ title: "chore: auto-bump version to ${{ steps.bump.outputs.new_version }}"+ body: |+ ## Summary+ - Auto-bump patch version: ${{ steps.bump.outputs.current_version }} → ${{ steps.bump.outputs.new_version }}++ This PR was automatically created by the version bump workflow.+ Approve and merge to trigger a new release.+ labels: |+ automated+ version-bump