naive-ui/.github/workflows/issue-reply.yml
2021-09-28 00:15:36 +08:00

28 lines
1.1 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: Issue Reply
on:
issues:
types: [labeled]
jobs:
check-label:
runs-on: ubuntu-latest
steps:
- name: Usage
if: github.event.label.name == 'Usage' || github.event.label.name == 'Question'
uses: actions-cool/issues-helper@v2.2.1
with:
actions: 'create-comment,close-issue'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
Hello @${{ github.event.issue.user.login }}, we use GitHub issues to trace bugs or discuss plans of Naive UI. So, please don't ask usage questions. You can join the community to ask questions:
- [Discord](https://discord.gg/Pqv7Mev5Dd)
- DingTalk Group 1 (Member limit reached) 33482509
- DingTalk Group 2 35886835
你好 @${{ github.event.issue.user.login }}Naive UI Issue 板块是用于 bug 反馈与需求讨论的地方,请勿询问如何使用的问题。你可以加入社区进行提问:
- [Discord](https://discord.gg/Pqv7Mev5Dd)
- 钉钉一群 33482509 (已满)
- 钉钉二群 35886835