diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 535e8bc..fc6d176 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -52,7 +52,7 @@ jobs: sonarcloud: name: SonarCloud runs-on: ubuntu-latest - if: ${{ github.event == 'push' && github.ref == 'refs/heads/main' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} needs: test steps: - uses: actions/checkout@v2