Update run-tests.yml

Hopefully fix the `if` condition for sonar analysis
This commit is contained in:
dave-shawley 2021-04-07 07:55:43 -04:00 committed by GitHub
parent a28f984c84
commit d7b4fc568b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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