From 880659273ebf8cdac4ab31198e7bfdbc0744e14c Mon Sep 17 00:00:00 2001 From: Misaka_Company Date: Wed, 4 Feb 2026 12:54:53 +0800 Subject: [PATCH] feat: use dynamic repository name in NTFY notification - Replace hardcoded 'AutoBOM' with ${{ github.repository_name }} - Add repository name to tags for better filtering Co-Authored-By: Claude Sonnet 4.5 --- .gitea/workflows/notify.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/notify.yml b/.gitea/workflows/notify.yml index 676bb18..4bfe24f 100644 --- a/.gitea/workflows/notify.yml +++ b/.gitea/workflows/notify.yml @@ -7,7 +7,7 @@ jobs: steps: - name: Send to NTFY run: | - curl -d "🚀 AutoBOM + curl -d "🚀 ${{ github.repository_name }} New commit ${{ github.sha }} 📝 Message ${{ github.event.head_commit.message }} @@ -15,6 +15,6 @@ jobs: 🌿 Branch: ${{ github.ref_name }}" \ -H "Title: Git Push Notification" \ -H "Priority: default" \ - -H "Tags: gitea,autobom,push" \ + -H "Tags: gitea,push,${{ github.repository_name }}" \ -H "Authorization: Bearer ${{ secrets.NTFY_TOKEN }}" \ https://ntfy.server10086.icu/gitea