Matrix Docker Ansible eploy
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.
 
 

50 рядки
2.6 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. ######################################################################
  17. # Issues/PRs
  18. ######################################################################
  19. exempt-assignees: 'spantaleev,aine-etke'
  20. # An allow-list of label(s) to only process the issues/PRs which contain one of these label(s).
  21. any-of-labels: 'needs-info'
  22. # Use this to do a dry run from a pull request
  23. # debug-only: true
  24. ######################################################################
  25. # Issues
  26. ######################################################################
  27. 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.'
  28. 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.'
  29. stale-issue-label: 'stale'
  30. # Add this label to exempt the issue from being marked as stale due to inactivity
  31. exempt-issue-labels: 'confirmed'
  32. # An allow-list of label(s) to only process the issues which contain one of these label(s).
  33. any-of-issue-labels: 'question'
  34. ######################################################################
  35. # PRs
  36. ######################################################################
  37. days-before-pr-stale: '365'
  38. days-before-pr-close: '30'
  39. 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.'
  40. close-pr-message: 'This PR was closed because it has been stalled for 30 days with no activity.'
  41. stale-pr-label: 'stale'
  42. # Add this label to exempt the PR from being marked as stale due to inactivity
  43. exempt-pr-labels: 'confirmed'
  44. # An allow-list of label(s) to only process the PRs which contain one of these label(s).
  45. any-of-pr-labels: 'needs-rebase'
  46. # Use this to ignore updates such as comments (only to keep the PR alive by bumping)
  47. ignore-pr-updates: true