Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

25 righe
1016 B

  1. name: 'Close stale issues'
  2. on:
  3. schedule:
  4. - cron: '00 5 * * *'
  5. workflow_dispatch:
  6. jobs:
  7. stale:
  8. runs-on: ubuntu-latest
  9. permissions:
  10. issues: write
  11. pull-requests: write
  12. steps:
  13. - uses: actions/stale@v5
  14. with:
  15. repo-token: ${{ secrets.GITHUB_TOKEN }}
  16. days-before-close: 7
  17. days-before-stale: 7
  18. only-labels: 'needs-more-info'
  19. exempt-issue-labels: 'triage'
  20. close-issue-message: 'Closing this issue because it needs more information and has not had recent activity. Please re-open this issue if more details can be provided. Thanks!'
  21. stale-issue-label: 'inactive'
  22. stale-issue-message: 'This issue needs more information and has not had recent activity. Please provide the missing information or it will be closed in 7 days. Thanks!'
  23. labels-to-add-when-unstale: 'triage'