Closed tomlau10 closed 1 year ago
Hello and welcome to RavSam :purple_heart:. Thanks for opening your first issue. I will assign one of our team members to take a look at the problem you have raised. Make sure to include as much information as possible to help our team diagnose the issue and solve it quickly.
If the problem is related to a security concern, then please delete this issue and send us an email at info@ravsam.in.
@tomlau10 Thanks for reporting this bug. This bug is now fixed in v2.1.1. Let us know if it solves your problem.
Hi,
I am constructing a workflow with slack notification requirement and come across this great action library today 👍 However I find a very small issue,
the string pattern only get replaced once
This is possibly due to
makeMessage()
is usingstring.replace
instead ofstring.replaceAll
https://github.com/ravsamhq/notify-slack-action/blob/master/src/main.ts#L30For this reason, pattern cannot be used more than once eg:
notification_title: '{emoji} Server Deploy Failed {emoji}'
only the first{emoji}
will get replaced