close_stale_issues.yml 1.2 KB

12345678910111213141516171819202122232425262728
  1. name: 'Close stale issues'
  2. on:
  3. schedule:
  4. - cron: '0 8 * * *'
  5. jobs:
  6. stale:
  7. if: github.repository == 'edgardmessias/glpi-singlesignon'
  8. permissions:
  9. issues: write # for actions/stale to close stale issues
  10. runs-on: ubuntu-latest
  11. steps:
  12. - uses: actions/stale@v9
  13. with:
  14. stale-issue-message: >-
  15. There has been no activity on this issue for some time and therefore it is considered stale
  16. and will be closed automatically in 10 days.
  17. If this issue is related to a bug, please try to reproduce on latest release. If the problem persist,
  18. feel free to add a comment to revive this issue.
  19. days-before-issue-stale: 60
  20. days-before-pr-stale: -1 # PR will be marked as stale manually.
  21. days-before-close: 10
  22. exempt-issue-labels: "bug,enhancement,question,security" # Issues with "bug", "enhancement", "question" or "security" labels will not be marked as stale
  23. exempt-all-milestones: true # Do not check issues/PR with defined milestone.
  24. ascending: true # First check older issues/PR.
  25. operations-per-run: 750 # Max API calls per run.