4
0

lock.yml 822 B

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