From 3a0eef33c408abbad3291d1a3e8bfe94f41db896 Mon Sep 17 00:00:00 2001 From: siddhant Date: Thu, 9 Jul 2026 22:03:06 +0530 Subject: [PATCH] fix the badge --- .github/workflows/update-badge.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-badge.yml b/.github/workflows/update-badge.yml index 5e20cbd..ec332a1 100644 --- a/.github/workflows/update-badge.yml +++ b/.github/workflows/update-badge.yml @@ -40,7 +40,9 @@ jobs: - name: Update README run: | - sed -i '//,//c\\n![Coverage](https://img.shields.io/badge/Coverage-${{ steps.coverage.outputs.coverage }}%25-${{ steps.coverage.outputs.color }}?style=for-the-badge)\n' ./README.md + BADGE='${{ steps.coverage.outputs.coverageHtml }}' + BADGE="${BADGE/.svg/.svg?style=for-the-badge}" + sed -i "//,//c\\n$BADGE\n" ./README.md - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5