Only GitHub action sonar with node.js 14 on that repository
authorJérôme Benoit <jerome.benoit@sap.com>
Sun, 12 Sep 2021 18:56:45 +0000 (20:56 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Sun, 12 Sep 2021 18:56:45 +0000 (20:56 +0200)
.github/workflows/ci.yml

index 90687ea258c89c8f12b0ef8c6e876a50e9a991db..836074b6b3c2bb51e4ca2d30e3c183e520e9fb62 100644 (file)
@@ -33,6 +33,7 @@ jobs:
     - name: npm run coverage
       run: npm run coverage
     - name: SonarCloud Scan
+      if: "github.repository == 'jerome-benoit/charging-stations-simulator' && matrix.node-version == '14.x'"
       uses: SonarSource/sonarcloud-github-action@master
       env:
         GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}  # Needed to get PR information, if any