mirror of
https://github.com/multipleof4/gitea-github-cron.git
synced 2026-10-08 21:35:21 +00:00
Send ntfy notifications at min priority
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -65,7 +65,7 @@ const md = text => String(text).replace(/[\\`*_[\]#]/g, '\\$&');
|
||||
const res = await fetch(NTFY_TOPIC_URL, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
Priority: '2', Title: title, Markdown: 'yes',
|
||||
Priority: '1', Title: title, Markdown: 'yes',
|
||||
Tags: test ? 'test_tube' : ok ? 'white_check_mark' : 'x',
|
||||
...(RUN_URL && { Actions: `view, Open run, ${RUN_URL}` })
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user