-
Notifications
You must be signed in to change notification settings - Fork 1k
33 lines (28 loc) · 1.19 KB
/
issue-helper.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: Issue Reply
on:
issues:
types: [labeled]
jobs:
reply-helper:
runs-on: ubuntu-latest
steps:
- name: need demo
if: github.event.label.name == 'need demo'
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 }}. To fix it quickly, We need you to provide a complete demo on codesandbox .
你好 @${{ github.event.issue.user.login }},我们需要你在codesandbox上提供一个完整的demo,便于我们快速修复哦。
- name: pr welcome
if: 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 PR 🎉。
你好 @${{ github.event.issue.user.login }},我们完全同意你的提议/反馈,欢迎PR 🎉。