Skip to content

Commit

Permalink
chore: create issue reply
Browse files Browse the repository at this point in the history
  • Loading branch information
xrkffgg committed Jan 18, 2021
1 parent ab45bc5 commit 4cf7ec0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/issue-reply.yml
Original file line number Diff line number Diff line change
@@ -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.

1 comment on commit 4cf7ec0

@vercel
Copy link

@vercel vercel bot commented on 4cf7ec0 Jan 18, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.