lock.yml 338 B

1234567891011121314151617181920
  1. name: Lock threads
  2. on:
  3. # Daily
  4. schedule:
  5. - cron: '0 0 * * *'
  6. # Manual trigger
  7. workflow_dispatch:
  8. inputs:
  9. jobs:
  10. lock:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: dessant/lock-threads@v4
  14. with:
  15. github-token: ${{ github.token }}
  16. issue-inactive-days: '2'
  17. pr-inactive-days: '2'