mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-05-19 05:58:43 -04:00
fix: strip deliver/channel/to from notify-failure hook payload
This commit is contained in:
committed by
Marco Vermeulen
parent
97e6662f88
commit
008bc66326
2
.github/workflows/beta.yml
vendored
2
.github/workflows/beta.yml
vendored
@@ -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" \
|
||||
|
||||
Reference in New Issue
Block a user