issue-close-require.yml 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. name: Issue Close Require
  2. on:
  3. schedule:
  4. - cron: "0 0 * * *"
  5. permissions:
  6. contents: read
  7. jobs:
  8. issue-close-require:
  9. permissions:
  10. issues: write # for actions-cool/issues-helper to update issues
  11. pull-requests: write # for actions-cool/issues-helper to update PRs
  12. runs-on: ubuntu-latest
  13. steps:
  14. - name: need reproduce
  15. uses: actions-cool/issues-helper@v3
  16. with:
  17. actions: 'close-issues'
  18. labels: '🤔 Need Reproduce'
  19. inactive-day: 3
  20. - name: needs more info
  21. uses: actions-cool/issues-helper@v3
  22. with:
  23. actions: 'close-issues'
  24. labels: 'needs-more-info'
  25. inactive-day: 3
  26. body: |
  27. 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.
  28. 由于该 issue 被标记为需要更多信息,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复。