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