This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-aggregator.git
The following commit(s) were added to refs/heads/master by this push:
new 19e2c5c SLING-12459 - Redirect sonarcloud notifications to
[email protected]
19e2c5c is described below
commit 19e2c5cdd9dac11d3fa2f969fc2dbc52fcc62670
Author: Robert Munteanu <[email protected]>
AuthorDate: Mon Oct 28 17:46:44 2024 +0100
SLING-12459 - Redirect sonarcloud notifications to [email protected]
Update .asf.yaml to redirect notifications.
---
scripts/update-asf-yaml.groovy | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/update-asf-yaml.groovy b/scripts/update-asf-yaml.groovy
index 6ccfc83..374ba0c 100644
--- a/scripts/update-asf-yaml.groovy
+++ b/scripts/update-asf-yaml.groovy
@@ -66,6 +66,11 @@ options.arguments().forEach { arg ->
if ( !jiraOptions ) {
asfYaml['notifications']['jira_options'] = 'link'
}
+ // route sonarcloud notifications to commits@
+ def sonarcloud = asfYaml['notifications']['pullrequests_bot_sonarcloud']
+ if ( !sonarcloud ) {
+ asfYaml['notifications']['pullrequests_bot_sonarcloud'] =
'[email protected]'
+ }
def builder = new YamlBuilder()
builder(asfYaml)