Skip to content

Commit

Permalink
ci: add needs more info deal (#28570)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
xrkffgg committed Dec 28, 2020
1 parent 215d058 commit 8ca50fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
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: 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,若有任何问题,可评论回复。
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'

0 comments on commit 8ca50fd

Please sign in to comment.