Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/sonar-qube-scan.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: SonarQube Scanning

on:
push:
branches:
- '**' # Matches all branches

jobs:
sonarqube-scan:
name: Run SonarQube Analysis
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: SonarQube Scan
uses: SonarSource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
6 changes: 6 additions & 0 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
sonar.projectKey=com.nicedfo.react-highcharts
sonar.projectName=react-highcharts
sonar.sources=demo,src
sonar.exclusions=vendor/**,temp/**,tests/**,**/*.html,**/*.json
sonar.host.url=https://sonar.nice.com
sonar.sourceEncoding=UTF-8