feat(ci): rename qq-notify to notify, add Feishu webhook for PR events

This commit is contained in:
t8y2
2026-06-24 19:34:29 +08:00
parent 4f6b92316a
commit 3199e82e4e
@@ -1,4 +1,4 @@
name: QQ Notify
name: Notifications
on:
# issues:
@@ -162,6 +162,16 @@ jobs:
# f.write(f"analysis<<{delim}\n{text}\n{delim}\n")
# PYEOF
- name: Send to Feishu
if: ${{ steps.msg.outputs.skip != 'true' && github.event_name != 'release' }}
env:
FEISHU_WEBHOOK_URL: ${{ secrets.FEISHU_WEBHOOK_URL }}
MSG_CONTENT: ${{ steps.msg.outputs.msg }}
run: |
curl -s -X POST "$FEISHU_WEBHOOK_URL" \
-H 'Content-Type: application/json' \
-d "$(jq -n --arg text "$MSG_CONTENT" '{msg_type: "text", content: {text: $text}}')"
- name: Send to QQ group
if: steps.msg.outputs.skip != 'true'
env: