diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3cca8fb0..f7214c9d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -161,6 +161,17 @@ jobs: with: sarif_file: trivy-results.sarif + - name: Update security scan badge + if: always() && github.ref == 'refs/heads/main' + uses: schneegans/dynamic-badges-action@v1.7.0 + with: + auth: ${{ secrets.ADIL_GITHUB_TOKEN }} + gistID: ${{ vars.SECURITY_BADGE_GIST_ID }} + filename: security-scan-badge.json + label: Security Scan + message: ${{ job.status == 'success' && 'passing' || 'failing' }} + color: ${{ job.status == 'success' && 'green' || 'red' }} + # ────────────────────────────────────────────── # E2E: prompt_gateway tests # ────────────────────────────────────────────── diff --git a/README.md b/README.md index 29ede79c..83b02b1d 100644 --- a/README.md +++ b/README.md @@ -12,9 +12,9 @@ [Documentation](https://docs.planoai.dev) • [Contact](#Contact) -[![pre-commit](https://github.com/katanemo/plano/actions/workflows/pre-commit.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/pre-commit.yml) -[![rust tests (prompt and llm gateway)](https://github.com/katanemo/plano/actions/workflows/rust_tests.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/rust_tests.yml) -[![e2e tests](https://github.com/katanemo/plano/actions/workflows/e2e_tests.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/e2e_tests.yml) +[![CI](https://github.com/katanemo/plano/actions/workflows/ci.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/ci.yml) +[![Docker Image](https://github.com/katanemo/plano/actions/workflows/docker-push-main.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/docker-push-main.yml) +[![Security Scan](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/katanemo/SECURITY_BADGE_GIST_ID/raw/security-scan-badge.json)](https://github.com/katanemo/plano/security/code-scanning) [![Build and Deploy Documentation](https://github.com/katanemo/plano/actions/workflows/static.yml/badge.svg)](https://github.com/katanemo/plano/actions/workflows/static.yml) Star ⭐️ the repo if you found Plano useful — new releases and updates land here first.