From 1ca3d15c2fe40f3b9bb058d5ec1c567438da8b45 Mon Sep 17 00:00:00 2001 From: hanxuanyu <2252193204@qq.com> Date: Thu, 29 Jan 2026 17:22:05 +0800 Subject: [PATCH] =?UTF-8?q?GitHub=20Actions:=20=E6=B7=BB=E5=8A=A0=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=88=90=E5=8A=9F=E5=90=8E=E7=9A=84=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E6=AD=A5=E9=AA=A4=EF=BC=8C=E6=8F=90=E9=AB=98=E6=B5=81=E7=A8=8B?= =?UTF-8?q?=E9=80=8F=E6=98=8E=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/verify.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 8ffa194..e97a913 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -38,3 +38,16 @@ jobs: - name: Test run: CGO_ENABLED=0 go test -v ./... + + - name: Notification + if: success() + env: + NOTIFY_CURLS: ${{ secrets.NOTIFY_CURLS }} + run: | + if [ -n "$NOTIFY_CURLS" ]; then + printf "%s\n" "$NOTIFY_CURLS" | while read -r line; do + if [ -n "$line" ]; then + eval "$line" || true + fi + done + fi