issue-stale.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435
  1. name: Stale Issue Labeler
  2. on:
  3. schedule:
  4. - cron: '30 1 * * *'
  5. workflow_dispatch:
  6. permissions:
  7. issues: write
  8. pull-requests: write
  9. actions: write
  10. jobs:
  11. issues:
  12. name: Check for stale issues
  13. runs-on: ubuntu-latest
  14. if: ${{ contains(github.repository, 'jellyfin/') }}
  15. steps:
  16. - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
  17. with:
  18. repo-token: ${{ secrets.JF_BOT_TOKEN }}
  19. ascending: true
  20. days-before-stale: 120
  21. days-before-pr-stale: -1
  22. days-before-close: 21
  23. days-before-pr-close: -1
  24. operations-per-run: 500
  25. exempt-issue-labels: regression,security,roadmap,future,feature,enhancement,confirmed
  26. stale-issue-label: stale
  27. stale-issue-message: |-
  28. This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
  29. If you have any questions you can use one of several ways to [contact us](https://jellyfin.org/contact).
  30. close-issue-message: |-
  31. This issue was closed due to inactivity.