Skip to content

Commit 03b4783

Browse files
authored
Merge pull request #1773 from miracles1919/chore/workflows
chore: add github actions
2 parents 371b021 + dd73a77 commit 03b4783

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Comment When Needs More Info Label Added
2+
3+
on:
4+
issues:
5+
types: [labeled]
6+
7+
jobs:
8+
create-comment:
9+
runs-on: ubuntu-latest
10+
if: github.event.label.name == 'needs more info'
11+
steps:
12+
- name: Create comment
13+
uses: actions-cool/issues-helper@v3
14+
with:
15+
actions: 'create-comment'
16+
token: ${{ secrets.GITHUB_TOKEN }}
17+
issue-number: ${{ github.event.issue.number }}
18+
body: |
19+
Hi, ${{ github.event.issue.user.login }}.
20+
21+
It seems that this issue is a bit vague and lacks some necessary information.
22+
23+
看起来这条 issue 描述得有些模糊,缺少一些必要的信息。

0 commit comments

Comments
 (0)