Compare commits

..

4 Commits

Author SHA1 Message Date
b823a75886 Update .gitea/workflows/sonar.yml
All checks were successful
SonarQube Analysis / SonarQube Scan (push) Successful in 28s
2026-02-18 14:24:05 +00:00
60f0f542d4 Update .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Failing after 20s
2026-02-18 14:17:47 +00:00
cc860b15ee Update .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / SonarQube Scan (push) Failing after 22s
2026-02-18 14:13:30 +00:00
645c5f7bff Add .gitea/workflows/sonar.yml
Some checks failed
SonarQube Analysis / sonarqube (push) Failing after 22s
2026-02-18 13:47:59 +00:00
3 changed files with 49 additions and 4 deletions

View File

@@ -0,0 +1,45 @@
name: SonarQube Analysis
on:
push:
branches:
- main
- master
pull_request:
branches:
- main
- master
types:
- opened
- synchronize
- reopened
jobs:
sonarqube:
name: SonarQube Scan
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Run SonarScanner (Docker v12)
run: |
# Safely get repository name from current directory
PROJECT_KEY=$(basename "$PWD")
echo "Using project key: $PROJECT_KEY"
docker run --rm \
-v "$PWD:/usr/src" \
-w /usr/src \
-e SONAR_HOST_URL=${{ secrets.SONARQUBE_HOST }} \
-e SONAR_TOKEN=${{ secrets.SONARQUBE_TOKEN }} \
sonarsource/sonar-scanner-cli:12 \
-Dsonar.projectKey=$PROJECT_KEY \
-Dsonar.projectName=$PROJECT_KEY \
-Dsonar.sources=. \
-Dsonar.exclusions=node_modules/**,dist/**,coverage/** \
-Dsonar.qualitygate.wait=true

6
package-lock.json generated
View File

@@ -1811,9 +1811,9 @@
"integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24="
},
"bootstrap": {
"version": "4.3.1",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz",
"integrity": "sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag=="
"version": "4.1.1",
"resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.1.1.tgz",
"integrity": "sha512-SpiDSOcbg4J/PjVSt4ny5eY6j74VbVSjROY4Fb/WIUXBV9cnb5luyR4KnPvNoXuGnBK1T+nJIWqRsvU3yP8Mcg=="
},
"boxen": {
"version": "0.6.0",

View File

@@ -9,7 +9,7 @@
"babel-loader": "8.0.1",
"babel-preset-react-app": "^3.1.2",
"babel-runtime": "6.23.0",
"bootstrap": "^4.3.1",
"bootstrap": "^4.1.1",
"case-sensitive-paths-webpack-plugin": "2.1.2",
"chalk": "1.1.3",
"css-loader": "0.28.4",