Skip to content

Commit d5b272d

Browse files
authored
Fix SonarQube report names to use underscores (#829)
Replace spaces with underscores in "code smells" and "security hotspots" report names to match template variable naming conventions.
1 parent f61e664 commit d5b272d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/downloads/automation-library/integrations/sonar/label_sonar.cm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
manifest:
44
version: 1.0
5-
5+
66
automations:
77
{% for item in reports %}
88
label_sonar_{{ item.name }}:
@@ -22,11 +22,11 @@ reports:
2222
count: {{ sonar.vulnerabilities.count }}
2323
icon: 🔓
2424
rating: {{ sonar.vulnerabilities.rating }}
25-
- name: code smells
25+
- name: code_smells
2626
count: {{ sonar.code_smells.count }}
2727
icon: ☣️
2828
rating: {{ sonar.code_smells.rating }}
29-
- name: security hotspots
29+
- name: security_hotspots
3030
count: {{ sonar.security_hotspots.count }}
3131
icon: 🛡️
3232
rating: {{ sonar.security_hotspots.rating }}

0 commit comments

Comments
 (0)