lock.yml 461 B

1234567891011121314151617181920212223
  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. jobs:
  10. action:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - uses: dessant/lock-threads@v5
  14. with:
  15. github-token: ${{ secrets.GITHUB_TOKEN }}
  16. issue-inactive-days: '30'
  17. issue-lock-reason: ''
  18. pr-inactive-days: '30'
  19. pr-lock-reason: ''
  20. process-only: 'issues, prs'