lock.yml 462 B

12345678910111213141516171819202122232425
  1. name: 'Lock Threads'
  2. on:
  3. schedule:
  4. - cron: '0 0 * * *'
  5. workflow_dispatch:
  6. permissions:
  7. issues: write
  8. pull-requests: write
  9. concurrency:
  10. group: lock
  11. jobs:
  12. action:
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: dessant/lock-threads@v5
  16. with:
  17. github-token: ${{ github.token }}
  18. issue-inactive-days: '90'
  19. issue-lock-reason: 'resolved'
  20. pr-inactive-days: '365'
  21. pr-lock-reason: 'resolved'