Skip to content

Commit fae71fc

Browse files
mikep-sumoclaude
andcommitted
TLAB-2568 Fix coverage badge automation in CI/CD
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent bd16fad commit fae71fc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
if: ${{ runner.os == 'Linux' }}
3030
run: poetry run python print-coverage.py >> $GITHUB_ENV
3131
- name: Create coverage badge
32-
if: ${{ github.repository == 'https://github.com/SumoLogic/sumologic' && github.event_name == 'push' && runner.os == 'Linux' }}
32+
if: ${{ github.repository == 'SumoLogic/pySigma-backend-sumologic' && github.event_name == 'push' && runner.os == 'Linux' }}
3333
uses: schneegans/dynamic-badges-action@v1.7.0
3434
with:
3535
auth: ${{ secrets.GIST_SECRET }}
3636
gistID: GitHub Gist identifier containing coverage badge JSON expected by shields.io.
37-
filename: https://github.com/SumoLogic-sumologic.json
37+
filename: pysigma-backend-sumologic-coverage.json
3838
label: Coverage
3939
message: ${{ env.COVERAGE }}
4040
color: ${{ env.COVERAGE_COLOR }}

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# pySigma Sumo Logic Backend
22

33
![Status](https://img.shields.io/badge/Status-testing-yellow)
4+
![Coverage](https://img.shields.io/endpoint?url=https://gist.githubusercontent.com/SumoLogic/GIST_ID/raw/pysigma-backend-sumologic-coverage.json)
45

56
## Overview
67

0 commit comments

Comments
 (0)