.gitea/workflows/sonarqube.yml hinzugefügt
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
SonarQube Scan / SonarQube Trigger (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
name: SonarQube Scan
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
pull_request:
|
||||||
|
types: [opened, synchronize, reopened]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
sonarqube:
|
||||||
|
name: SonarQube Trigger
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout Code
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Disables shallow clone for more accurate blame/analysis data
|
||||||
|
|
||||||
|
- name: Run SonarQube Scanner
|
||||||
|
uses: SonarSource/sonarqube-scan-action@v4
|
||||||
|
env:
|
||||||
|
SONAR_TOKEN: http://docker01.fritz.box:9001
|
||||||
|
SONAR_HOST_URL: sqp_450c392dfb94696fc68a00a0dca31bf93dfaa350
|
||||||
Reference in New Issue
Block a user