Compare commits

...

2 Commits

Author SHA1 Message Date
mattuy 021d96c201 Merge pull request 'fix(ci): 修复通知优先级被预展开' (#8) from fix/woodpecker-success-priority into main
ci/woodpecker/push/build-image Pipeline was successful
2026-08-01 01:02:52 +00:00
mattuy 88bb2f1542 fix(ci): preserve notification priority at runtime 2026-08-01 00:56:37 +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" \