Skip to content

Commit

Permalink
Update issue-notify.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
huacnlee authored May 31, 2024
1 parent 9f92f4c commit 350cd40
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/issue-notify.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Issue Notify
on:
issues:
types: [opened]
types: [opened, edited]

jobs:
notify:
Expand All @@ -9,11 +10,9 @@ jobs:
- uses: foxundermoon/feishu-action@v2
with:
url: ${{ secrets.FEISHU_WEBHOOK_URL }}
msg_type: post
msg_type: text
content: |
post:
zh_cn:
title: "GitHub: ${{ github.event.issue.title }} #${{ github.event.issue.number }}"
content:
- - text: 查看 Issue #${{ github.event.issue.number }}
href: ${{ github.event.issue.html_url }}
text:
GitHub: ${{ github.event.issue.title }} #${{ github.event.issue.number }}
${{ github.event.issue.html_url } }}

0 comments on commit 350cd40

Please sign in to comment.