Update GitHub badges after CI consolidation (#758)

* Update GitHub badges after CI workflow consolidation

Fix broken README badges pointing to deleted workflow files (pre-commit.yml,
rust_tests.yml, e2e_tests.yml) and replace with consolidated CI badge. Add
Docker image publish badge and dynamic Trivy security scan badge.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Use existing ADIL_GITHUB_TOKEN secret for security badge

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Adil Hafeez 2026-02-15 00:26:44 -08:00 committed by GitHub
parent 8a39446d95
commit 2fcae0453a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 14 additions and 3 deletions

View file

@ -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
# ──────────────────────────────────────────────

View file

@ -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.