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(ci): prevent template injection in publish workflow (#7566, #7567) (#3062)

LearningCircuitb1d36567e89b
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index f625855658..7e84048171 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -481,11 +481,15 @@ jobs:
- name: Determine published version
id: version
+ env:
+ EVENT_NAME: ${{ github.event_name }}
+ PAYLOAD_TAG: ${{ github.event.client_payload.tag }}
+ RELEASE_TAG: ${{ github.event.release.tag_name }}
run: |
- if [ "${{ github.event_name }}" = "repository_dispatch" ]; then
- TAG="${{ github.event.client_payload.tag }}"
+ if [ "$EVENT_NAME" = "repository_dispatch" ]; then
+ TAG="$PAYLOAD_TAG"
else
- TAG="${{ github.event.release.tag_name }}"
+ TAG="$RELEASE_TAG"
fi
# Strip leading 'v' if present
VERSION="${TAG#v}"