Skip to content

Commit

Permalink
only update badge on main
Browse files Browse the repository at this point in the history
  • Loading branch information
ekorman committed Aug 1, 2024
1 parent dec1e06 commit 46be6c8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ jobs:
export TOTAL=$(python -c "import json;print(json.load(open('coverage.json'))['totals']['percent_covered_display'])")
echo "total=$TOTAL" >> $GITHUB_ENV
- name: "Make badge"
# if github.ref == 'refs/heads/main'
if: true
if: github.ref == 'refs/heads/main'
uses: schneegans/[email protected]
with:
auth: ${{ secrets.GIST_TOKEN }}
Expand Down

0 comments on commit 46be6c8

Please sign in to comment.