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