From b6cedd48c82ec2349e8a0b7224ec132ac67822a7 Mon Sep 17 00:00:00 2001 From: Nacho Vazquez Date: Sat, 25 Jul 2026 16:47:19 -0300 Subject: [PATCH] ci: fail the sonarcloud job when the quality gate fails Signed-off-by: Nacho Vazquez --- sonar-project.properties | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sonar-project.properties b/sonar-project.properties index 5af0ed9f..bf7cbfa4 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -12,6 +12,11 @@ sonar.issues.defaultAssigneeLogin=LayZeeDK@github # Scan sonar.sourceEncoding=UTF-8 +# Block the scan step on the quality gate verdict instead of passing as soon as +# the report uploads. Without this the GitHub check is green whatever the gate +# says — it was ERROR on `main` for years before anyone noticed. +sonar.qualitygate.wait=true + # comma-separated paths to directories containing source files sonar.sources=e2e,packages,tools # configure the files that should be completely ignored by the analysis