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 7012921 commit 64bad21Copy full SHA for 64bad21
.github/workflows/sonar-scan.yml
@@ -0,0 +1,22 @@
1
+name: Sonar Scan
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
10
+jobs:
11
+ sonarcloud:
12
+ name: SonarCloud
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v2
16
+ with:
17
+ fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
18
+ - name: SonarCloud Scan
19
+ uses: SonarSource/sonarcloud-github-action@master
20
+ env:
21
+ GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} # Needed to get PR information, if any
22
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments