Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add needs more info deal #28570

Merged
merged 6 commits into from
Dec 28, 2020
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/issue-close-require.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,22 @@ jobs:
close-issues:
runs-on: ubuntu-latest
steps:
- name: close-issues
- name: need reproduce
uses: actions-cool/issues-helper@v1.2
with:
actions: 'close-issues'
token: ${{ secrets.ANT_BOT_TOKEN }}
labels: '🤔 Need Reproduce'
inactive-day: 3

- name: needs more info
uses: actions-cool/issues-helper@v1.2
with:
actions: 'close-issues'
token: ${{ secrets.ANT_BOT_TOKEN }}
labels: 'needs-more-info'
inactive-day: 7
xrkffgg marked this conversation as resolved.
Show resolved Hide resolved
body: |
Since the issue was labeled with `needs-more-info`, no response was received for 7 days. The issue is now closed. If you have any questions, you can comment and reply.
xrkffgg marked this conversation as resolved.
Show resolved Hide resolved

由于该 issue 标记 `needs-more-info`,却 7 天未收到回应。现关闭 issue。若有任何问题,可评论回复。
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

3 天吧。

xrkffgg marked this conversation as resolved.
Show resolved Hide resolved
2 changes: 1 addition & 1 deletion .github/workflows/issue-remove-inactive.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ jobs:
actions: 'remove-labels'
token: ${{ secrets.ANT_BOT_TOKEN }}
issue-number: ${{ github.event.issue.number }}
labels: 'Inactive'
labels: 'Inactive,needs-more-info'