Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

51 wiersze
2.8 KiB

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