File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ private_lane :slack_sonarcloud_metrics do |options|
52
52
metrics = sonarcloud_metric_kit (
53
53
project_key : project_key ,
54
54
quality_gate : true ,
55
- branch : options [ :branch ]
55
+ branch : sonar_branch
56
56
)
57
57
new_period = sonar_branch == 'main' ? options [ :version_number ] : sonar_branch
58
58
new_coverage = metrics [ :new_coverage ] . to_f . round ( 2 )
@@ -68,7 +68,7 @@ private_lane :slack_sonarcloud_metrics do |options|
68
68
security_status = "Total: _#{ vulnerabilities } _\n New: _#{ new_vulnerabilities } _ #{ new_vulnerabilities . positive? ? '⚠️' : '✅' } "
69
69
70
70
slack (
71
- message : "[StreamChatSwiftUI](https://sonarcloud.io/summary/new_code?id=#{ project_key } &branch=#{ options [ :branch ] } )" ,
71
+ message : "[StreamChatSwiftUI](https://sonarcloud.io/summary/new_code?id=#{ project_key } &branch=#{ sonar_branch } )" ,
72
72
attachment_properties : {
73
73
thumb_url : 'https://pbs.twimg.com/profile_images/955394530806829056/LC7DAYM3_400x400.jpg' ,
74
74
fields : [
You can’t perform that action at this time.
0 commit comments