Skip to content

Commit 66a865a

Browse files
committed
chore: workflows
1 parent 3b366bb commit 66a865a

File tree

3 files changed

+23
-4
lines changed

3 files changed

+23
-4
lines changed

.github/workflows/creat_comment.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create Comment When Add Labels
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 == 'need 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+
你好 ${{ github.event.issue.user.login }},请及时回复,否则你的 issue 将在3天后自动关闭!

.github/workflows/issue_close_question.yml .github/workflows/issue_close.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Close Question
1+
name: Issue Close
22

33
on:
44
schedule:
@@ -17,7 +17,7 @@ jobs:
1717
uses: actions-cool/issues-helper@v3
1818
with:
1919
actions: 'close-issues'
20-
labels: 'invalid'
20+
labels: 'invalid,need info'
2121
inactive-day: 3
2222
body: |
23-
由于该 Issue 3 天未收到回应,现已被自动关闭,若有任何问题,可评论回复。
23+
由于该 issue 3天未收到回应,现已被自动关闭,若有任何问题,可评论回复。

.github/workflows/issue_content_checker.yml .github/workflows/issue_content_check.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Issue Content Checker
1+
name: Issue Content Check
22

33
on:
44
issues:

0 commit comments

Comments
 (0)