From dae801558bb1df99ab902bdccf58cbc5c1d5b166 Mon Sep 17 00:00:00 2001 From: Thijs Snelleman Date: Wed, 25 Sep 2024 13:37:52 +0200 Subject: [PATCH] Trying to fix if statement code --- .github/workflows/codecoverage.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"