You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if [ -n "$USER_NAME" ] && [ "$USER_NAME" != "null" ]; then
2334
-
PING_MESSAGE="$PING_MESSAGE $USER_NAME [@$owner]"
2335
+
PING_MESSAGE="$PING_MESSAGE $USER_NAME (@$owner)"
2335
2336
else
2336
-
PING_MESSAGE="$PING_MESSAGE [@$owner]"
2337
+
PING_MESSAGE="$PING_MESSAGE (@$owner)"
2337
2338
fi
2338
2339
2339
2340
# Add comma if not the last owner
@@ -2357,7 +2358,7 @@ jobs:
2357
2358
fi
2358
2359
fi
2359
2360
2360
-
PING_MESSAGE="$PING_MESSAGE, this PR **[""$PR_TITLE""](${{ github.server_url }}/${{ github.repository }}/pull/$PR_NUMBER)** by $PR_AUTHOR_FULL_NAME [@$PR_AUTHOR_LOGIN] needs your approval/review to merge this."
2361
+
PING_MESSAGE="$PING_MESSAGE, this PR **[""$PR_TITLE""](${{ github.server_url }}/${{ github.repository }}/pull/$PR_NUMBER)** by $PR_AUTHOR_FULL_NAME (@$PR_AUTHOR_LOGIN) needs your approval/review to merge this."
2361
2362
2362
2363
if [ "$PING_OWNERS" = "true" ]; then
2363
2364
# Create new ping comment
@@ -2386,6 +2387,7 @@ jobs:
2386
2387
2387
2388
if [ "$HTTP_STATUS" = "201" ]; then
2388
2389
echo "✅ Ping comment created successfully for PR #$PR_NUMBER"
2390
+
echo "📋 Pinged users: $SELECTED_OWNERS"
2389
2391
else
2390
2392
echo "❌ ERROR: Failed to create ping comment (HTTP $HTTP_STATUS)"
2391
2393
echo "Response body: $RESPONSE_BODY"
@@ -2792,6 +2794,8 @@ jobs:
2792
2794
if [ "$(echo "$SLACK_RESPONSE" | jq -r '.ok')" = "true" ]; then
2793
2795
SLACK_TS=$(echo "$SLACK_RESPONSE" | jq -r '.ts')
2794
2796
echo "✅ Successfully sent Slack notification to channel $SLACK_CHANNEL (message ts: $SLACK_TS)"
0 commit comments