issue-notify.yml 699 B

1234567891011121314151617
  1. on:
  2. issue_comment:
  3. types: [created]
  4. jobs:
  5. notify-author-comment:
  6. runs-on: ubuntu-latest
  7. if: (github.event.issue.user.id == github.event.comment.user.id) && !github.event.issue.pull_request
  8. # find context from: https://docs.github.com/en/webhooks/webhook-events-and-payloads#issue_comment
  9. steps:
  10. - name: feishu notify
  11. uses: zexi/action-issues-notify@v1
  12. with:
  13. url: ${{ secrets.FEISHU_BOT_WEBHOOK_URL }}
  14. issue_title: "${{ github.event.comment.user.login }} 回复了 issue: ${{ github.event.issue.title }}"
  15. issue_body: "${{ tojson(github.event.comment.body) }}"
  16. issue_link_url: "${{github.event.comment.html_url}}"