Skip to content

Commit 8c15f80

Browse files
committed
Add SonarQube monorepo integration
1 parent e0890fe commit 8c15f80

3 files changed

Lines changed: 21 additions & 27 deletions

File tree

.github/workflows/sonar.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: SonarQube
2+
on:
3+
push:
4+
branches:
5+
- '202[3-9].[39].x'
6+
pull_request:
7+
types: [opened, synchronize, reopened]
8+
jobs:
9+
sonarqube:
10+
name: SonarQube
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v4
14+
with:
15+
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
16+
- name: SonarQube Scan
17+
uses: SonarSource/sonarqube-scan-action@v4
18+
env:
19+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/stale-issues.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

sonar-project.properties

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sonar.projectKey=cortezaproject_corteza_monorepo
2+
sonar.organization=cortezaproject

0 commit comments

Comments
 (0)