-
Notifications
You must be signed in to change notification settings - Fork 494
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/[email protected] | ||
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/[email protected] | ||
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. |