From f7aa06475ca210dcc027b81def597af8ce4d3e65 Mon Sep 17 00:00:00 2001 From: Enno Gelhaus Date: Sat, 6 Dec 2025 23:14:38 +0100 Subject: [PATCH] Refactor build workflow by removing unnecessary steps Removed the SonarQube analysis step and commit SHA retrieval from the build workflow. --- .github/workflows/build.yml | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d40e7f14..8e866231 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -50,20 +50,3 @@ jobs: - name: Build run: pnpm run build - - - name: Get Commit SHA (short) - id: get_version - run: | - # Get the short 8-character commit SHA - VERSION=$(git rev-parse --short=8 HEAD) - echo "Commit SHA is $VERSION" - echo "tag=$VERSION" >> $GITHUB_OUTPUT - - - name: SonarQube Analysis (Branch) - uses: SonarSource/sonarqube-scan-action@v6 - env: - SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - with: - args: > - -Dsonar.projectVersion=${{ steps.get_version.outputs.tag }}