ci: add needs more info deal (#28570)

* ci: add needs more info deal

* Update issue-remove-inactive.yml

* Update .github/workflows/issue-close-require.yml

* Update .github/workflows/issue-close-require.yml

* Update .github/workflows/issue-close-require.yml

* Update issue-close-require.yml
This commit is contained in:
xrkffgg 2020-12-28 16:59:50 +08:00 committed by GitHub
parent 215d058fe5
commit 8ca50fdd52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 2 deletions

View File

@ -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: 3
body: |
Since the issue was labeled with `needs-more-info`, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue若有任何问题可评论回复。

View File

@ -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'