X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=.github%2Fworkflows%2Fci.yml;h=401dbfa8ed6d3a32f827db4707da24fe65e7c667;hb=1a3d7d3d4f45282778f34d5c465f213e7f7ca0ad;hp=836074b6b3c2bb51e4ca2d30e3c183e520e9fb62;hpb=bf62797fdf0a55c124257c5872438a1ed124d4f2;p=e-mobility-charging-stations-simulator.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 836074b6..401dbfa8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,10 +3,8 @@ on: push: branches: - master - pull_request_target: + pull_request: types: [opened, synchronize, reopened] - branches: - - master jobs: build: runs-on: ubuntu-latest @@ -34,7 +32,7 @@ jobs: 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 + uses: sonarsource/sonarcloud-github-action@master env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}