We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bdbd05 + 646ce52 commit 028077eCopy full SHA for 028077e
1 file changed
.github/workflows/sonarcloud.yml
@@ -0,0 +1,28 @@
1
+on:
2
+ # Trigger analysis when pushing in master or pull requests, and when creating
3
+ # a pull request.
4
+ push:
5
+ branches:
6
+ - master
7
+ pull_request:
8
+ types: [opened, synchronize, reopened]
9
+name: SonarCloud
10
+jobs:
11
+ sonarcloud:
12
+ runs-on: ubuntu-latest
13
+ steps:
14
+ - uses: actions/checkout@v2
15
+ with:
16
+ # Disabling shallow clone is recommended for improving relevancy of reporting
17
+ fetch-depth: 0
18
+ - name: SonarCloud Scan
19
+ uses: sonarsource/sonarcloud-github-action@master
20
21
+ args: >
22
+ -Dsonar.organization=managedcloudapplications
23
+ -Dsonar.projectKey=mca-cli
24
+ -Dsonar.sources=.
25
+ -Dsonar.host.url=https://sonarcloud.io
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
28
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments