Skip to content

Issue Close Require

Issue Close Require #1

name: Issue Close Require
on:
schedule:
- cron: "0 0 * * *"
permissions:
contents: read
jobs:
issue-close-require:
permissions:
issues: write # for actions-cool/issues-helper to update issues
pull-requests: write # for actions-cool/issues-helper to update PRs
runs-on: ubuntu-latest
steps:
- name: need reproduce
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'Need Reproduce'
inactive-day: 10
body: |
Hi,@${{ github.event.issue.user.login }} Because this issue was marked as requiring detailed reproduction steps, no response was received for 10 days. The issue is now closed. If you have any questions, please comment and reply.
Hi,@${{ github.event.issue.user.login }} 由于该 issue 被标记为需要提供详细复现步骤,却 10 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: duplicate issue
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'Duplicate'
inactive-day: 3
body: |
Hi,@${{ github.event.issue.user.login }} Since this issue was marked as a duplicate issue, no response was received for 3 days. The issue is now closed. If you have any questions, please comment and reply
Hi,@${{ github.event.issue.user.login }} 由于该 issue 被标记为重复问题,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: Fixed issue
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'Fixed'
inactive-day: 2
body: |
Hi,@${{ github.event.issue.user.login }} Since this issue was marked as fixed, no response has been received for 2 days. The issue is now closed. If you have any questions, please comment and reply.
Hi,@${{ github.event.issue.user.login }} 由于该 issue 被标记为已修复,却 2 天未收到回应。现关闭 issue,若有任何问题,可评论回复。
- name: More Information Required
uses: actions-cool/issues-helper@v3
with:
actions: 'close-issues'
labels: 'More Information Required'
inactive-day: 7
body: |
Hi,@${{ github.event.issue.user.login }} Since this issue was marked as requiring more information, no response was received for 7 days. The issue is now closed. If you have any questions, please comment and reply.
Hi,@${{ github.event.issue.user.login }} 由于该 issue 被标记为需要更多信息,却 7 天未收到回应。现关闭 issue,若有任何问题,可评论回复。