From 3007a905312e0a19a4d1606cd96780308896c98f Mon Sep 17 00:00:00 2001 From: Paul Date: Thu, 16 Jan 2025 16:25:24 +0100 Subject: [PATCH] Replace generic action with vanilla action --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8798fd6..b5dcb1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,7 +36,8 @@ jobs: run: composer phpcs - name: Execute tests (Unit and Feature) run: composer test - - name: Run SonarCloud scanner - uses: minvws/nl-irealisatie-generic-pipelines/.github/actions/sonarcloud@main - with: - sonar-token: ${{ secrets.SONAR_TOKEN }} \ No newline at end of file + - name: 'Run SonarCloud scanner' + if: ${{contains(github.ref, '/pull/')}} + uses: SonarSource/sonarcloud-github-action@v2.2.0 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}