We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e446c5a commit 15dd866Copy full SHA for 15dd866
1 file changed
.github/workflows/sonar.yml
@@ -0,0 +1,23 @@
1
+name: Sonar Analysis Workflow
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ - development
8
+ pull_request:
9
+ types: [opened, synchronize, reopened]
10
11
+jobs:
12
+ build:
13
+ name: Build and analyze
14
+ runs-on: ubuntu-latest
15
16
+ steps:
17
+ - uses: actions/checkout@v4
18
+ with:
19
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
20
+ - uses: SonarSource/sonarqube-scan-action@v4
21
+ env:
22
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
23
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
0 commit comments