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): remove unused workflow_dispatch inputs from release workflow (#1332)

LearningCircuite310af28d8b2
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 0fa44f3152..67d02aabb4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -6,17 +6,7 @@ on:
- main # Automatically create release when merging to main
tags:
- 'v*.*.*' # Also support manual version tags
- workflow_dispatch:
- inputs:
- version:
- description: 'Version to release (e.g., 0.4.3)'
- required: true
- type: string
- prerelease:
- description: 'Mark as pre-release'
- required: false
- type: boolean
- default: false
+ workflow_dispatch: # Manual trigger for re-runs (no inputs needed)
permissions: {} # Minimal permissions at workflow level for OSSF Scorecard
@@ -45,12 +35,9 @@ jobs:
if [[ "${{ github.event_name }}" = "push" && "${{ github.ref }}" =~ ^refs/tags/ ]]; then
# Extract version from tag (remove 'v' prefix)
VERSION="${GITHUB_REF#refs/tags/v}"
- elif [ "${{ github.event_name }}" = "push" ] && [ "${{ github.ref }}" = "refs/heads/main" ]; then
- # Get version from __version__.py for main branch pushes
- VERSION=$(grep -oP '(?<=__version__ = ")[^"]*' src/local_deep_research/__version__.py)
else
- # Use manual input
- VERSION="${{ github.event.inputs.version }}"
+ # Get version from __version__.py (main branch push or manual trigger)
+ VERSION=$(grep -oP '(?<=__version__ = ")[^"]*' src/local_deep_research/__version__.py)
fi
echo "version=$VERSION" >> "$GITHUB_OUTPUT"
echo "tag=v$VERSION" >> "$GITHUB_OUTPUT"
@@ -186,19 +173,12 @@ jobs:
- name: Create GitHub Release
run: |
- # Set prerelease flag if needed
- PRERELEASE_FLAG=""
- if [ "$INPUT_PRERELEASE" == "true" ]; then
- PRERELEASE_FLAG="--prerelease"
- fi
-
# Create the release using GitHub CLI with auto-generated notes
# Includes SBOM files, Sigstore signatures, and SLSA provenance
gh release create "$RELEASE_TAG" \
--repo "$GITHUB_REPOSITORY" \
--title "Release $RELEASE_VERSION" \
--generate-notes \
- $PRERELEASE_FLAG \
sbom-spdx.json \
sbom-spdx.json.bundle \
sbom-cyclonedx.json \
@@ -209,7 +189,6 @@ jobs:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
RELEASE_TAG: ${{ needs.build.outputs.tag }}
RELEASE_VERSION: ${{ needs.build.outputs.version }}
- INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}
trigger-workflows:
needs: [build, create-release]
@@ -223,7 +202,6 @@ jobs:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
env:
RELEASE_TAG: ${{ needs.build.outputs.tag }}
- INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
@@ -232,8 +210,7 @@ jobs:
repo: context.repo.repo,
event_type: 'publish-docker',
client_payload: {
- tag: process.env.RELEASE_TAG,
- prerelease: process.env.INPUT_PRERELEASE === 'true'
+ tag: process.env.RELEASE_TAG
}
});
console.log('Triggered Docker publish workflow');
@@ -242,7 +219,6 @@ jobs:
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
env:
RELEASE_TAG: ${{ needs.build.outputs.tag }}
- INPUT_PRERELEASE: ${{ github.event.inputs.prerelease }}
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
@@ -251,8 +227,7 @@ jobs:
repo: context.repo.repo,
event_type: 'publish-pypi',
client_payload: {
- tag: process.env.RELEASE_TAG,
- prerelease: process.env.INPUT_PRERELEASE === 'true'
+ tag: process.env.RELEASE_TAG
}
});
console.log('Triggered PyPI publish workflow');