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.

Add SBOM generation workflow and fix YAML formatting

LearningCircuit55408c8fa39a
diff --git a/.github/workflows/sbom.yml b/.github/workflows/sbom.yml
new file mode 100644
index 0000000000..9c3c3c6b39
--- /dev/null
+++ b/.github/workflows/sbom.yml
@@ -0,0 +1,81 @@
+name: SBOM Generation
+
+on:
+ workflow_dispatch:
+ schedule:
+ # Run weekly on Wednesday at 10 AM UTC (staggered with other scans)
+ - cron: '0 10 * * 3'
+ release:
+ types: [published]
+
+permissions: {}
+
+jobs:
+ sbom:
+ name: Generate Software Bill of Materials
+ runs-on: ubuntu-latest
+ permissions:
+ contents: write
+ actions: read
+
+ steps:
+ - name: Harden the runner (Audit all outbound calls)
+ uses: step-security/harden-runner@df199fb7be9f65074067a9eb93f12bb4c5547cf2 # v2.13.3
+ with:
+ egress-policy: audit
+
+ - name: Checkout repository
+ uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
+ with:
+ persist-credentials: false
+
+ - name: Generate SBOM for source code
+ uses: anchore/sbom-action@a930d0ac434e3182448fe678398ba5713717112a # v0.20.11
+ with:
+ path: .
+ artifact-name: sbom-source.spdx.json
+ output-file: sbom-source.spdx.json
+ format: spdx-json
+
+ - name: Generate SBOM for Python dependencies
+ uses: anchore/sbom-action@a930d0ac434e3182448fe678398ba5713717112a # v0.20.11
+ with:
+ path: .
+ artifact-name: sbom-python.cyclonedx.json
+ output-file: sbom-python.cyclonedx.json
+ format: cyclonedx-json
+
+ - name: Upload SBOMs as artifacts
+ uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
+ with:
+ name: sbom-reports
+ path: |
+ sbom-source.spdx.json
+ sbom-python.cyclonedx.json
+ retention-days: 90
+
+ - name: Display SBOM summary
+ run: |
+ {
+ echo "## SBOM Generation Summary"
+ echo ""
+ echo "### Generated SBOMs"
+ echo "- **Source Code SBOM**: \`sbom-source.spdx.json\` (SPDX format)"
+ echo "- **Dependencies SBOM**: \`sbom-python.cyclonedx.json\` (CycloneDX format)"
+ echo ""
+ echo "### What is an SBOM?"
+ echo "A Software Bill of Materials (SBOM) is a formal record of all components,"
+ echo "libraries, and dependencies used in building software. It enables:"
+ echo ""
+ echo "- **Vulnerability tracking**: Know exactly what's in your software"
+ echo "- **License compliance**: Verify all dependencies have compatible licenses"
+ echo "- **Supply chain security**: Detect compromised dependencies"
+ echo "- **Regulatory compliance**: Meet requirements (EO 14028, etc.)"
+ echo ""
+ echo "### Artifacts"
+ echo "SBOMs are available as workflow artifacts for 90 days."
+ if [ "${{ github.event_name }}" = "release" ]; then
+ echo ""
+ echo "SBOMs have also been attached to the release assets."
+ fi
+ } >> "$GITHUB_STEP_SUMMARY"
diff --git a/.github/workflows/security-headers-validation.yml b/.github/workflows/security-headers-validation.yml
index 0b30409009..0b31121a00 100644
--- a/.github/workflows/security-headers-validation.yml
+++ b/.github/workflows/security-headers-validation.yml
@@ -41,7 +41,6 @@ jobs:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-
with:
persist-credentials: false
diff --git a/.github/workflows/security-tests.yml b/.github/workflows/security-tests.yml
index 8a8f44d23c..d67d300c07 100644
--- a/.github/workflows/security-tests.yml
+++ b/.github/workflows/security-tests.yml
@@ -40,7 +40,6 @@ jobs:
egress-policy: audit
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
-
with:
persist-credentials: false