Matrix Docker Ansible eploy
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 

46 行
2.3 KiB

  1. ---
  2. name: 'Close stale issues and PRs'
  3. on: # yamllint disable-line rule:truthy
  4. schedule:
  5. - cron: '30 1 * * *'
  6. permissions:
  7. issues: write
  8. pull-requests: write
  9. jobs:
  10. stale:
  11. if: github.repository == 'spantaleev/matrix-docker-ansible-deploy'
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: actions/stale@v9
  15. with:
  16. # An allow-list of label(s) to only process the issues/PRs which contain one of these label(s).
  17. any-of-labels: 'needs-info'
  18. ######################################################################
  19. # Issues
  20. ######################################################################
  21. stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days.'
  22. close-issue-message: 'This issue was closed because it has been stalled for 7 days with no activity. If this issue is still reproduced, feel free to provide the issue with up-to-date information.'
  23. stale-issue-label: 'stale'
  24. # Add this label to exempt the issue from being marked as stale due to inactivity
  25. exempt-issue-labels: 'confirmed'
  26. # An allow-list of label(s) to only process the issues which contain one of these label(s).
  27. any-of-issue-labels: 'question'
  28. ######################################################################
  29. # PRs
  30. ######################################################################
  31. days-before-pr-stale: '365'
  32. days-before-pr-close: '30'
  33. stale-pr-message: 'This PR is stale because it has been open a year with no activity. Remove stale label or this will be closed in 30 days.'
  34. close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity.'
  35. stale-pr-label: 'stale'
  36. # Add this label to exempt the PR from being marked as stale due to inactivity
  37. exempt-pr-labels: 'confirmed'
  38. # An allow-list of label(s) to only process the PRs which contain one of these label(s).
  39. any-of-pr-labels: 'needs-rebase'
  40. # Use this to ignore updates such as comments (only to keep the PR alive by bumping)
  41. # ignore-pr-updates: true
  42. # Use this to do a dry run from a pull request
  43. # debug-only: true