commit 63f02ffb5bd53456c5e204ab8323b31f37893750 Author: ArtursJustels Date: Wed May 27 10:11:00 2026 +0000 feat: add shared sonar job diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml new file mode 100644 index 0000000..4b6a920 --- /dev/null +++ b/.github/workflows/sonar-scan.yml @@ -0,0 +1,17 @@ +name: Scanning flow +on: + workflow_call: + +jobs: + sonarqube-scan: + runs-on: ubuntu-latest + steps: + - name: Checking out + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: SonarQube Scan + uses: kitabisa/sonarqube-action@v1.2.0 + with: + host: ${{ secrets.SONARQUBE_HOST }} + login: ${{ secrets.SONARQUBE_TOKEN }}