diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 45d5a46..ddd221f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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/dynamic-badges-action@v1.4.0 with: auth: ${{ secrets.GIST_TOKEN }}