4
0

lock.yml 823 B

123456789101112131415161718192021222324252627
  1. name: "Lock Threads"
  2. on:
  3. schedule:
  4. - cron: "0 0 * * *"
  5. permissions:
  6. contents: read
  7. jobs:
  8. lock:
  9. permissions:
  10. issues: write # for dessant/lock-threads to lock issues
  11. pull-requests: write # for dessant/lock-threads to lock PRs
  12. runs-on: ubuntu-latest
  13. steps:
  14. - uses: dessant/lock-threads@v4
  15. with:
  16. github-token: ${{ secrets.GITHUB_TOKEN }}
  17. issue-comment: >
  18. This issue has been automatically locked since there
  19. has not been any recent activity after it was closed.
  20. Please open a new issue for related bugs.
  21. pr-comment: >
  22. This pull request has been automatically locked since there
  23. has not been any recent activity after it was closed.
  24. Please open a new issue for related bugs.