lock.yml 338 B

12345678910111213141516171819
  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@v5
  14. with:
  15. github-token: ${{ github.token }}
  16. issue-inactive-days: '2'
  17. pr-inactive-days: '2'