naive-ui/.github/workflows/issue-reply.yml
2021-06-22 11:17:57 +08:00

26 lines
1.0 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 33482509
你好 @${{ github.event.issue.user.login }}Naive UI Issue 板块是用于 bug 反馈与需求讨论的地方,请勿询问如何使用的问题。你可以加入社区进行提问:
- [Discord](https://discord.gg/Pqv7Mev5Dd)
- 钉钉群 33482509