Skip to content

Commit 81535ba

Browse files
DE-144723 | Added SonarQube Scan.
1 parent bb10d84 commit 81535ba

2 files changed

Lines changed: 26 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: SonarQube Scanning
2+
3+
on:
4+
push:
5+
branches:
6+
- '**' # Matches all branches
7+
8+
jobs:
9+
sonarqube-scan:
10+
name: Run SonarQube Analysis
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: SonarQube Scan
18+
uses: SonarSource/sonarqube-scan-action@master
19+
env:
20+
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

sonar-project.properties

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
sonar.projectKey=com.nicedfo.emoji-mart
2+
sonar.projectName=emoji-mart
3+
sonar.sources=example,scripts,src,src/components,src/svgs,src/utils,src/vendor
4+
sonar.exclusions=vendor/**,temp/**,tests/**,**/*.html,**/*.json
5+
sonar.host.url=https://sonar.nice.com
6+
sonar.sourceEncoding=UTF-8

0 commit comments

Comments
 (0)