-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
👷 add inactive issue close action (#1462)
- Loading branch information
Showing
1 changed file
with
29 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,29 @@ | ||
name: Issue Close Inactive | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
close-issues: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: close inactive issue without reprodction | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'Need Reproduction' | ||
inactive-day: 30 | ||
body: | | ||
Since the issue was labeled with `Need Reproduction`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. | ||
由于该 issue 被标记为需要可复现步骤,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 | ||
- name: close inactive issue not use template | ||
uses: actions-cool/[email protected] | ||
with: | ||
actions: 'close-issues' | ||
labels: 'pls use issue template' | ||
inactive-day: 30 | ||
body: | | ||
Since the issue was labeled with `pls use issue template`, but no response in 30 days. This issue will be close. If you have any questions, you can comment and reply. | ||
由于该 issue 被标记为需要使用模板,却 30 天未收到回应。现关闭 issue,若有任何问题,可评论回复。 |
5d4cf04
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for qiankun ready!
✅ Preview
https://qiankun-5qs84qknf-umijs.vercel.app
Built with commit 5d4cf04.
This pull request is being automatically deployed with vercel-action