Matrix Docker Ansible eploy
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 

55 satır
2.9 KiB

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