From 0a07b08f7c4369b5257f79661656210a51d622d1 Mon Sep 17 00:00:00 2001 From: Paul Gilber Date: Thu, 26 Oct 2023 14:12:15 +0000 Subject: [PATCH] added sonar organization and project key --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index caeb5d4..824be79 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,6 +20,11 @@ jobs: steps: - name: SonarQube Scan uses: sonarsource/sonarqube-scan-action@master + with: + # github context: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context + args: > + -Dsonar.organization=${{ github.repository_owner }} + -Dsonar.projectKey=demoapp-backend env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} SONAR_HOST_URL: https://sonarcloud.io/