This is an automated email from the ASF dual-hosted git repository.

pottlinger pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/creadur-rat.git


The following commit(s) were added to refs/heads/master by this push:
     new 6b1457f5 INFRA-27608, RAT-293: Add debug step for sonarcloud secret
6b1457f5 is described below

commit 6b1457f52ba19f0242093a551ece1112aef76125
Author: P. Ottlinger <[email protected]>
AuthorDate: Mon Feb 2 16:20:50 2026 +0100

    INFRA-27608, RAT-293: Add debug step for sonarcloud secret
---
 .github/workflows/sonarcloud.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index bf45b93d..6760ed62 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -30,6 +30,14 @@ jobs:
           path: ~/.m2
           key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
           restore-keys: ${{ runner.os }}-m2
+      - name: Debug Secret
+        run: |
+          if [ -z "${{ secrets.SONARCLOUD_TOKEN }}" ]; then
+            echo "SECRET IS EMPTY"
+            exit 1
+          else
+            echo "SECRET IS DEFINED"
+          fi
       - name: Build and analyze at ASF-sonarcloud
         env:
           SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}

Reply via email to