Skip to content

Commit 33bc45d

Browse files
chloe41427[bot]marc0der
authored andcommitted
fix: strip deliver/channel/to from notify-failure hook payload
1 parent 6783bef commit 33bc45d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
MSG="❌ Release build failed: ${REPO}"
6868
MSG+=$'\nRun: '"${RUN_URL}"
6969
PAYLOAD=$(jq -n --arg msg "$MSG" --arg name "GitHub CI" \
70-
'{message: $msg, name: $name, deliver: true, channel: "discord", to: "user:918237603617206303"}')
70+
'{message: $msg, name: $name}')
7171
curl -sf -X POST \
7272
-H "Authorization: Bearer ${{ secrets.OPENCLAW_HOOK_TOKEN }}" \
7373
-H "Content-Type: application/json" \

0 commit comments

Comments
 (0)