From 63eeca65d85ef4282ef7ddc1f1bbeac27698e353 Mon Sep 17 00:00:00 2001 From: Dieter Wachters Date: Fri, 12 Sep 2025 11:22:21 +0200 Subject: [PATCH] Fixing sonar and fossa build steps --- .github/workflows/build.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58369c8..794603b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -34,24 +34,24 @@ jobs: - name: Test run: make test -# - name: SonarQube Scan -# uses: sonarsource/sonarqube-scan-action@v5 -# env: -# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} -# SONAR_HOST_URL: https://sonarqube.collibra.dev -# with: -# args: > -# -Dsonar.pullrequest.github.repository=collibra/go-set -# + - name: SonarQube Scan + uses: sonarsource/sonarqube-scan-action@v5 + env: + SONAR_TOKEN: ${{ secrets.SONARQUBE_PUBLIC_API_KEY }} + SONAR_HOST_URL: https://sonarqube.collibra.dev + with: + args: > + -Dsonar.pullrequest.github.repository=collibra/go-set + # - name: SonarQube Quality Gate # uses: sonarsource/sonarqube-quality-gate-action@v1.1.0 # timeout-minutes: 10 # continue-on-error: true # env: -# SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }} +# SONAR_TOKEN: ${{ secrets.SONARQUBE_PUBLIC_API_KEY }} # SONAR_HOST_URL: https://sonarqube.collibra.dev - name: FOSSA Scan uses: fossas/fossa-action@v1 with: - api-key: ${{ secrets.FOSSA_API_KEY }} + api-key: ${{ secrets.FOSSA_PUBLIC_API_KEY }}