fix: strip deliver/channel/to from notify-failure hook payload

This commit is contained in:
sdkman-chloe[bot]
2026-03-02 13:09:24 +00:00
committed by Marco Vermeulen
parent 97e6662f88
commit 008bc66326

View File

@@ -63,7 +63,7 @@ jobs:
MSG="❌ Release build failed: ${REPO}"
MSG+=$'\nRun: '"${RUN_URL}"
PAYLOAD=$(jq -n --arg msg "$MSG" --arg name "GitHub CI" \
'{message: $msg, name: $name, deliver: true, channel: "discord", to: "user:918237603617206303"}')
'{message: $msg, name: $name}')
curl -sf -X POST \
-H "Authorization: Bearer ${{ secrets.OPENCLAW_HOOK_TOKEN }}" \
-H "Content-Type: application/json" \