Compare commits

..

7 Commits

Author SHA1 Message Date
Patrick 3055d34cac new file: sonar-project.properties
/ sonarqube (push) Successful in 2m22s
2026-05-25 15:41:18 -04:00
Patrick c616e3a502 modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Failing after 48s
modified:   .gitea/workflows/sonarqube_manual.yml
2026-05-25 14:20:01 -04:00
Patrick 0744d9622f modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Failing after 3s
new file:   .gitea/workflows/sonarqube_manual.yml
2026-05-25 14:16:41 -04:00
Patrick e518603f25 modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Failing after 50s
2026-05-25 14:05:44 -04:00
Patrick 38f35bf750 modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Failing after 3m33s
2026-05-25 13:40:49 -04:00
Patrick d0d5a23a5d modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Has been cancelled
2026-05-25 13:27:10 -04:00
Patrick 97dd43350c modified: .gitea/workflows/sonarqube.yml
/ sonarqube (push) Has been cancelled
2026-05-25 13:07:56 -04:00
3 changed files with 41 additions and 7 deletions
+11 -7
View File
@@ -6,14 +6,18 @@ on:
jobs:
sonarqube:
runs-on: ubuntu-latest
# 1. Update this to match your EXACT Gitea runner label
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v6
with:
fetch-depth: 0 # Recommended for better reporting relevancy
fetch-depth: 0
- name: SonarQube Scan
uses: kitabisa/sonarqube-action@v1.2.0
with:
host: ${{ secrets.SONARQUBE_HOST }}
login: ${{ secrets.SONARQUBE_TOKEN }}
# 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 }}
+29
View File
@@ -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 }}
+1
View File
@@ -0,0 +1 @@
sonar.projectKey=medassisg-ng-afhgqwe5h