diff --git a/.github/workflows/codecoverage.yml b/.github/workflows/codecoverage.yml index 2681674e3..be604d0ae 100644 --- a/.github/workflows/codecoverage.yml +++ b/.github/workflows/codecoverage.yml @@ -32,7 +32,7 @@ jobs: - name: Run badge generator run: genbadge coverage -i coverage.xml -o .reports/coverage/coverage-badge.svg Commit-Badge: - if: ${{ git diff .reports/coverage/coverage-badge.svg }} + if: git diff .reports/coverage/coverage-badge.svg - name: Commit to branch run: | git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"