diff --git a/.github/workflows/unit-tests-and-coverage-report.yml b/.github/workflows/unit-tests-and-coverage-report.yml index 7d6f732..68dfc73 100644 --- a/.github/workflows/unit-tests-and-coverage-report.yml +++ b/.github/workflows/unit-tests-and-coverage-report.yml @@ -112,7 +112,7 @@ jobs: run: php-coverage-badger gh-pages/phpunit/clover.xml gh-pages/phpunit/coverage.svg - name: Commit code coverage to gh-pages - if: ${{ github.ref == 'refs/heads/main' && matrix.php-version == '7.3' }} # only commit on main, on the PHP version we're using in production. + if: ${{ github.ref == 'refs/heads/main' && matrix.php == '7.3' }} # only commit on main, on the PHP version we're using in production. uses: stefanzweifel/git-auto-commit-action@v5 with: repository: gh-pages