We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 582c846 commit 2df8c46Copy full SHA for 2df8c46
1 file changed
.github/workflows/discord-posts.yml
@@ -60,11 +60,11 @@ jobs:
60
message+=$'\n'
61
# This uses special Discord syntax for pinging a particular role.
62
# Note the '&' - this is the difference between pinging a *role* and pinging a *person*.
63
- message+=" (cc <@&${MENTION_ON_FAILURE}>"
64
if [[ -n "${author_discord_id}" ]]; then
65
- message+=" <@${author_discord_id}>"
+ message+="<@${author_discord_id}> please investigate these failures."
66
fi
67
- message+=")"
+ message+=$'\n'
+ message+="(cc <@&${MENTION_ON_FAILURE}> - Releases may be affected)"
68
69
# Use `jq` to construct the json data blob in the format required by the webhook.
70
data="$(jq --null-input --arg msg "$message" '.content=$msg')"
0 commit comments