Only analyse code on main workflow (#208)
authorShinigami <chrissi92@hotmail.de>
Sat, 20 Feb 2021 19:47:45 +0000 (20:47 +0100)
committerGitHub <noreply@github.com>
Sat, 20 Feb 2021 19:47:45 +0000 (20:47 +0100)
.github/workflows/ci.yml

index d10434394915dccf4b1e7ea65e7e5cb2271c734c..3df4616e467eece2658d8b6aa09684300fb86242 100644 (file)
@@ -47,7 +47,7 @@ jobs:
           CI: true
 
       - name: Sonar Code Analysis
-        if: "github.repository == 'pioardi/poolifier'"
+        if: "github.repository == 'pioardi/poolifier' && matrix.node-version == '14.x'"
         run: |
           npm run sonar
         env: