Skip to content

Commit

Permalink
testing sonarcloud
Browse files Browse the repository at this point in the history
Signed-off-by: Luiz Bezerra <[email protected]>
  • Loading branch information
luluiz committed Oct 7, 2024
1 parent a085ceb commit 0d9a4f3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: SonarQube Scan
on:
push:
branches:
- main
- sonarqube-integration
# pull_request:
# types: [opened, synchronize, reopened]

jobs:
build:
Expand All @@ -13,7 +16,8 @@ jobs:
- uses: actions/[email protected]
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- uses: sonarsource/sonarqube-scan-action@v3
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ vars.SONAR_HOST_URL }}
1 change: 1 addition & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
sonar.projectKey=lichtblick
sonar.organization=lichtblick-suite

0 comments on commit 0d9a4f3

Please sign in to comment.