File tree Expand file tree Collapse file tree 2 files changed +34
-0
lines changed
Expand file tree Collapse file tree 2 files changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ name : SonarQube Analysis
2+
3+ on :
4+ pull_request :
5+ push :
6+ branches : ["**"]
7+
8+ jobs :
9+ build :
10+ name : Run SonarQube Analysis
11+ runs-on : self-hosted
12+
13+ steps :
14+ - uses : actions/checkout@v5
15+ with :
16+ fetch-depth : 0
17+
18+ - name : SonarQube Scan
19+ uses : sonarsource/sonarqube-scan-action@v6
20+ env :
21+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
22+ SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
23+
24+ - name : SonarQube Quality Gate check
25+ id : sonarqube-quality-gate-check
26+ uses : sonarsource/sonarqube-quality-gate-action@v1.2.0
27+ with :
28+ pollingTimeoutSec : 600
29+ env :
30+ SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
31+ SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
Original file line number Diff line number Diff line change 1+ sonar.projectKey =AltaPay_plugin-shopware_6ff55bfb-f13e-4cba-a54c-9f0804511bbf
2+ sonar.projectBaseDir =src
3+ sonar.coverage.exclusions =**
You can’t perform that action at this time.
0 commit comments