Skip to content

Commit

Permalink
test: only make a coverage badge for the main branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ned Batchelder committed Dec 1, 2022
1 parent 10ef080 commit 705c1aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
echo "### Total coverage: ${TOTAL}%" >> $GITHUB_STEP_SUMMARY
- name: "Make badge"
if: (github.repository == 'nedbat/scriv') && (github.ref == 'refs/heads/main')
# https://gist.github.com/nedbat/5a304c1c779d4bcc57be95f847e9327f
uses: schneegans/dynamic-badges-action@v1.4.0
with:
Expand Down

0 comments on commit 705c1aa

Please sign in to comment.