We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecfb63e commit 742ff95Copy full SHA for 742ff95
.github/workflows/sonarqube.yaml
@@ -0,0 +1,22 @@
1
+name: Sonarqube
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
+ types: [opened, synchronize, reopened]
10
11
+jobs:
12
+ build:
13
+ name: Build
14
+ runs-on: ubuntu-latest
15
+ steps:
16
+ - uses: actions/checkout@v2
17
+ with:
18
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
19
+ - uses: sonarsource/sonarqube-scan-action@master
20
+ env:
21
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
22
+ SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
0 commit comments