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: add Sigstore signing to release artifacts for OSSF Scorecard (#1180)

LearningCircuit2c8f27b4a7d8
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 75ba470175..70fc6d2ed4 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -28,6 +28,7 @@ jobs:
permissions:
contents: write
pull-requests: read
+ id-token: write # Required for Sigstore keyless signing
steps:
- name: Checkout code
@@ -103,6 +104,24 @@ jobs:
echo "SBOM files generated:"
ls -lh sbom-*.json
+ - name: Install Cosign
+ if: steps.check_release.outputs.exists == 'false'
+ uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0
+
+ - name: Sign release artifacts with Sigstore
+ if: steps.check_release.outputs.exists == 'false'
+ run: |
+ echo "=== Signing release artifacts with Sigstore ==="
+
+ # Sign SBOM files using keyless signing (OIDC)
+ cosign sign-blob --yes --output-signature sbom-spdx.json.sig --output-certificate sbom-spdx.json.pem sbom-spdx.json
+ cosign sign-blob --yes --output-signature sbom-cyclonedx.json.sig --output-certificate sbom-cyclonedx.json.pem sbom-cyclonedx.json
+
+ echo "✅ Signed SBOM files with Sigstore"
+ echo ""
+ echo "Signature files generated:"
+ ls -lh sbom-*.sig sbom-*.pem
+
- name: Create GitHub Release using gh CLI
if: steps.check_release.outputs.exists == 'false'
run: |
@@ -114,12 +133,17 @@ jobs:
# Create the release using GitHub CLI with auto-generated notes
# Uses .github/release.yml for categorization based on PR labels
+ # Includes SBOM files and their Sigstore signatures
gh release create "${{ steps.version.outputs.tag }}" \
--title "Release ${{ steps.version.outputs.version }}" \
--generate-notes \
$PRERELEASE_FLAG \
sbom-spdx.json \
- sbom-cyclonedx.json
+ sbom-spdx.json.sig \
+ sbom-spdx.json.pem \
+ sbom-cyclonedx.json \
+ sbom-cyclonedx.json.sig \
+ sbom-cyclonedx.json.pem
env:
# Use PAT instead of GITHUB_TOKEN to trigger downstream workflows
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
@@ -160,7 +184,8 @@ jobs:
- name: Summary
run: |
- echo "🎉 Release ${{ steps.version.outputs.version }} created successfully!"
- echo "📋 Triggered PyPI and Docker publishing workflows via repository_dispatch"
- echo "📦 SBOM files (SPDX, CycloneDX) attached to release"
- echo "🔍 Check the releases page: https://github.com/LearningCircuit/local-deep-research/releases"
+ echo "Release ${{ steps.version.outputs.version }} created successfully!"
+ echo "Triggered PyPI and Docker publishing workflows via repository_dispatch"
+ echo "SBOM files (SPDX, CycloneDX) attached to release"
+ echo "Sigstore signatures (.sig, .pem) attached for verification"
+ echo "Check the releases page: https://github.com/LearningCircuit/local-deep-research/releases"