From 95cae089bf25604e5750decc99568fb98a88a85b Mon Sep 17 00:00:00 2001 From: Soma Lucz Date: Wed, 1 Apr 2020 00:33:43 +0200 Subject: [PATCH] ci: Run SonarCloud analysis on PR events too Closes #215. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3219abe..18268f0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -67,7 +67,7 @@ jobs: - name: Test the code run: npm run test - name: Scan the code with SonarCloud - if: github.event_name == 'push' && matrix.node == 13 + if: matrix.node == 13 uses: sonarsource/sonarcloud-github-action@v1.1 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}