1 parent 775f24f commit bf3a9b7Copy full SHA for bf3a9b7
2 files changed
.github/workflows/sonarcloud.yml
@@ -0,0 +1,24 @@
1
+name: SonarCloud
2
+on:
3
+ push:
4
+ branches: [main, master, develop]
5
+ pull_request:
6
7
+concurrency:
8
+ group: ${{ github.workflow }}-${{ github.ref }}
9
+ cancel-in-progress: true
10
+permissions:
11
+ contents: read
12
+jobs:
13
+ sonar:
14
+ runs-on: ubuntu-24.04
15
+ continue-on-error: true
16
+ steps:
17
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
18
+ with:
19
+ fetch-depth: 0
20
+ - name: SonarCloud Scan
21
+ uses: SonarSource/sonarqube-scan-action@aa2faad981ed3bc8524483b7dbb67bd4c88f84d4 # v6
22
+ env:
23
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
24
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
sonar-project.properties
@@ -0,0 +1,2 @@
+sonar.organization=kooshapari
+sonar.projectKey=KooshaPari_helios-cli
0 commit comments