feat: use dynamic repository name in NTFY notification
Some checks failed
NTFY Notification / notify (push) Failing after 3s
Some checks failed
NTFY Notification / notify (push) Failing after 3s
- Replace hardcoded 'AutoBOM' with ${{ github.repository_name }}
- Add repository name to tags for better filtering
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,7 +7,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Send to NTFY
|
- name: Send to NTFY
|
||||||
run: |
|
run: |
|
||||||
curl -d "🚀 AutoBOM
|
curl -d "🚀 ${{ github.repository_name }}
|
||||||
New commit ${{ github.sha }}
|
New commit ${{ github.sha }}
|
||||||
📝 Message
|
📝 Message
|
||||||
${{ github.event.head_commit.message }}
|
${{ github.event.head_commit.message }}
|
||||||
@@ -15,6 +15,6 @@ jobs:
|
|||||||
🌿 Branch: ${{ github.ref_name }}" \
|
🌿 Branch: ${{ github.ref_name }}" \
|
||||||
-H "Title: Git Push Notification" \
|
-H "Title: Git Push Notification" \
|
||||||
-H "Priority: default" \
|
-H "Priority: default" \
|
||||||
-H "Tags: gitea,autobom,push" \
|
-H "Tags: gitea,push,${{ github.repository_name }}" \
|
||||||
-H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \
|
-H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \
|
||||||
https://ntfy.server10086.icu/gitea
|
https://ntfy.server10086.icu/gitea
|
||||||
|
|||||||
Reference in New Issue
Block a user