4
0

lock.yml 780 B

1234567891011121314151617181920212223242526
  1. name: Lock Threads
  2. on:
  3. schedule:
  4. - cron: "0 0 * * 1"
  5. permissions:
  6. issues: write
  7. pull-requests: write
  8. jobs:
  9. lock:
  10. if: github.repository_owner == 'GameServerManagers'
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Lock Threads
  14. uses: dessant/lock-threads@v5
  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.