diff --git a/.gitea/workflows/sonarqube.yml b/.gitea/workflows/sonarqube.yml new file mode 100644 index 0000000..cc8d15c --- /dev/null +++ b/.gitea/workflows/sonarqube.yml @@ -0,0 +1,19 @@ +on: + push: + branches: [main] + pull_request: + types: [opened, synchronize, reopened] + +jobs: + sonarqube: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v4 + with: + fetch-depth: 0 # Recommended for better reporting relevancy + - name: SonarQube Scan + uses: kitabisa/sonarqube-action@v1.2.0 + with: + host: ${{ secrets.SONARQUBE_HOST }} + login: ${{ secrets.SONARQUBE_TOKEN }} diff --git a/.vscode/settings.json b/.vscode/settings.json index 9726229..9c07d3d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,9 @@ "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" }