feat: tag @TSHARPSbm_bot in all CI notifications so Claude sees results
This commit is contained in:
parent
9b7abec506
commit
11b11ea8de
10
ci-notify.sh
10
ci-notify.sh
@ -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" \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user