pipe-cd / pipecd

The One CD for All {applications, platforms, operations}
https://pipecd.dev
Apache License 2.0
1.1k stars 154 forks source link

Support group mentions for slack notification #4730

Closed minhquang4334 closed 4 months ago

minhquang4334 commented 11 months ago

What would you like to be added: I think it would be better to support slack group mentions.

Why is this needed: If someone is assigned to and leaves the development team, it is difficult to change the PipeCD notification settings every time.

Currently pipeCD is supporting individual user mention, but the syntax for individual user mentions and group mentions is different in Slack. refs: https://api.slack.com/reference/surfaces/formatting#mentioning-groups

As a workaround, if I put the format <!subteam^ID> into mentionedAccounts, it gets displayed as @@subteam_name in the Mention To section of the Slack message, with double @@ and even angle brackets <>

hungran commented 7 months ago

@minhquang4334 i would like to work on this issue