Skip to content

Commit

Permalink
added sonar organization and project key
Browse files Browse the repository at this point in the history
  • Loading branch information
paul-gilber committed Oct 26, 2023
1 parent d827950 commit 0a07b08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/
Expand Down

0 comments on commit 0a07b08

Please sign in to comment.