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 86964bae INFRA-27608, RAT-293: Document that secrets are not visible
if branches are configured
86964bae is described below
commit 86964bae4efe58a77f1f91f44815f5c9899b22c5
Author: P. Ottlinger <[email protected]>
AuthorDate: Mon Feb 2 16:58:20 2026 +0100
INFRA-27608, RAT-293: Document that secrets are not visible if branches are
configured
---
.github/workflows/sonarcloud.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml
index e68e24d1..f3a74391 100644
--- a/.github/workflows/sonarcloud.yml
+++ b/.github/workflows/sonarcloud.yml
@@ -1,6 +1,7 @@
name: SonarQube
on:
push:
+# RAT-293: Do not add any branches here as secrets are not visible in branches
except master:
# branches:
# - master
pull_request:
@@ -30,7 +31,7 @@ jobs:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- - name: Debug Secret
+ - name: Debug Globally Configured Secret
run: |
if [ -z "${{ secrets.SONARCLOUD_TOKEN }}" ]; then
echo "SECRET IS EMPTY"