feat: tag @TSHARPSbm_bot in all CI notifications so Claude sees results

This commit is contained in:
Claude BM 2026-04-21 05:18:26 +00:00
parent 9b7abec506
commit 11b11ea8de

View File

@ -26,7 +26,9 @@ if [ "$STATUS" = "pass" ]; then
Tests: ${SUMMARY} Tests: ${SUMMARY}
Features: ${FEATURES} Features: ${FEATURES}
Duration: ${DURATION} Duration: ${DURATION}
Pushed by: ${ACTOR}" Pushed by: ${ACTOR}
@TSHARPSbm_bot"
elif [ "$STATUS" = "fail" ]; then elif [ "$STATUS" = "fail" ]; then
ICON="❌" ICON="❌"
@ -37,7 +39,8 @@ Features: ${FEATURES}
Duration: ${DURATION} Duration: ${DURATION}
Pushed by: ${ACTOR} Pushed by: ${ACTOR}
${TAG_USERS} — this build needs attention." ${TAG_USERS} — this build needs attention.
@TSHARPSbm_bot"
elif [ "$STATUS" = "error" ]; then elif [ "$STATUS" = "error" ]; then
ICON="🚨" ICON="🚨"
@ -46,7 +49,8 @@ elif [ "$STATUS" = "error" ]; then
The CI runner itself failed — not a test failure. The CI runner itself failed — not a test failure.
Check logs: journalctl -u tsharps-ci --since '5 minutes ago' Check logs: journalctl -u tsharps-ci --since '5 minutes ago'
${TAG_USERS} — runner needs attention." ${TAG_USERS} — runner needs attention.
@TSHARPSbm_bot"
fi fi
curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \ curl -s -X POST "https://api.telegram.org/bot${BOT_TOKEN}/sendMessage" \