From 9fe06438a0c9b380e72b029f87d32fbb0103e080 Mon Sep 17 00:00:00 2001 From: xrkffgg Date: Mon, 18 Jan 2021 11:43:28 +0800 Subject: [PATCH] Create issue-reply.yml --- .github/workflows/issue-reply.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/issue-reply.yml diff --git a/.github/workflows/issue-reply.yml b/.github/workflows/issue-reply.yml new file mode 100644 index 00000000..02c12332 --- /dev/null +++ b/.github/workflows/issue-reply.yml @@ -0,0 +1,28 @@ +name: Issue reply + +on: + issues: + types: [labeled] + +jobs: + reply-help: + runs-on: ubuntu-latest + steps: + - name: help wanted + if: github.event.label.name == 'help wanted' || github.event.label.name == 'PR welcome' + uses: actions-cool/issues-helper@v1.11 + with: + actions: 'create-comment' + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + Hello @${{ github.event.issue.user.login }}. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please provide changelog/TypeScript/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution! + + - name: need reproduce + if: github.event.label.name == 'need reproduce' + uses: actions-cool/issues-helper@v1.11 + with: + actions: 'create-comment' + issue-number: ${{ github.event.issue.number }} + body: | + Hello @${{ github.event.issue.user.login }}. Please provide a online reproduction by forking this link https://codesandbox.io or a minimal GitHub repository.