From 6289a535319f586c3be95bfce066e6304ddf70a1 Mon Sep 17 00:00:00 2001 From: Brian Henry Date: Mon, 18 Nov 2024 15:56:59 -0800 Subject: [PATCH] Fix `matrix.php-version` -> `matrix.php` for committing report --- .github/workflows/unit-tests-and-coverage-report.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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