From d7b4fc568bf4b4a059e7e2e82b1ca32b52739a30 Mon Sep 17 00:00:00 2001 From: dave-shawley Date: Wed, 7 Apr 2021 07:55:43 -0400 Subject: [PATCH] Update run-tests.yml Hopefully fix the `if` condition for sonar analysis --- .github/workflows/run-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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