Compare commits
9 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3055d34cac | |||
| c616e3a502 | |||
| 0744d9622f | |||
| e518603f25 | |||
| 38f35bf750 | |||
| d0d5a23a5d | |||
| 97dd43350c | |||
| b5c68ba809 | |||
| 5a4a72e1f4 |
@@ -0,0 +1,23 @@
|
|||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sonarqube:
|
||||||
|
# 1. Update this to match your EXACT Gitea runner label
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: SonarQube Scan
|
||||||
|
# 2. Replaced with the official, actively maintained action
|
||||||
|
uses: SonarSource/sonarqube-scan-action@v8.1.0
|
||||||
|
env:
|
||||||
|
# 3. SonarSource uses environment variables, not 'with' parameters
|
||||||
|
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
@@ -0,0 +1,29 @@
|
|||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
reason:
|
||||||
|
description: 'Reason for running'
|
||||||
|
required: false
|
||||||
|
default: 'Manual trigger'
|
||||||
|
push:
|
||||||
|
branches: [main]
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sonarqube:
|
||||||
|
# 1. Update this to match your EXACT Gitea runner label
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout code
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: SonarQube Scan
|
||||||
|
# 2. Replaced with the official, actively maintained action
|
||||||
|
uses: SonarSource/sonarqube-scan-action@v8.1.0
|
||||||
|
env:
|
||||||
|
# 3. SonarSource uses environment variables, not 'with' parameters
|
||||||
|
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
|
||||||
|
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
|
||||||
Vendored
+12
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"vitest.root": "backend",
|
||||||
|
"vitest.enable": true,
|
||||||
|
"vitest.commandLine": "npm test --",
|
||||||
|
"chat.tools.terminal.autoApprove": {
|
||||||
|
"test": true
|
||||||
|
},
|
||||||
|
"gitea.instanceURL": "https://git.cuttlecloud.com",
|
||||||
|
"gitea.owner": "Patrick",
|
||||||
|
"gitea.repo": "medassist-ng",
|
||||||
|
"gitea.token": "cb06442b1b93224196cbe10782770685fe091b65"
|
||||||
|
}
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
sonar.projectKey=medassisg-ng-afhgqwe5h
|
||||||
Reference in New Issue
Block a user