Skip to content

Commit 8552048

Browse files
authored
CI - Clearer CTA in discord post (#3738)
# Description of Changes Our automated discord posts have a more explicit call to action for the PR author. # API and ABI breaking changes None # Expected complexity level and risk 1 # Testing Did a test post and it looks fine --------- Co-authored-by: Zeke Foppa <bfops@users.noreply.github.com>
1 parent f071c21 commit 8552048

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/discord-posts.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ jobs:
6060
message+=$'\n'
6161
# This uses special Discord syntax for pinging a particular role.
6262
# Note the '&' - this is the difference between pinging a *role* and pinging a *person*.
63-
message+=" (cc <@&${MENTION_ON_FAILURE}>"
6463
if [[ -n "${author_discord_id}" ]]; then
65-
message+=" <@${author_discord_id}>"
64+
message+="<@${author_discord_id}> please investigate these failures."
6665
fi
67-
message+=")"
66+
message+=$'\n'
67+
message+="(cc <@&${MENTION_ON_FAILURE}> - Releases may be affected)"
6868
fi
6969
# Use `jq` to construct the json data blob in the format required by the webhook.
7070
data="$(jq --null-input --arg msg "$message" '.content=$msg')"

0 commit comments

Comments
 (0)