fix(ci): 修复通知优先级被预展开 #8

Merged
mattuy merged 1 commits from fix/woodpecker-success-priority into main 2026-08-01 01:02:54 +00:00
+1 -1
View File
@@ -34,7 +34,7 @@ variables:
--arg source 'text-mosaic' \
--arg title "$TITLE" \
--arg content "$CONTENT" \
--arg priority "${NOTIFY_PRIORITY:-}" \
--arg priority "$NOTIFY_PRIORITY" \
'{source: $source, title: $title, content: $content} + (if $priority == "" then {} else {priority: $priority} end)')
curl -sS --fail-with-body --show-error -X POST -H 'content-type: application/json' \
-d "$PAYLOAD" \