lock.yml 1.4 KB

123456789101112131415161718192021222324252627
  1. # DO NOT EDIT - This GitHub Workflow is managed by automation
  2. # https://github.com/hashicorp/terraform-devex-repos
  3. name: 'Lock Threads'
  4. on:
  5. schedule:
  6. - cron: '43 20 * * *'
  7. jobs:
  8. lock:
  9. runs-on: ubuntu-latest
  10. steps:
  11. # NOTE: When TSCCR updates the GitHub action version, update the template workflow file to avoid drift:
  12. # https://github.com/hashicorp/terraform-devex-repos/blob/main/modules/repo/workflows/lock.tftpl
  13. - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
  14. with:
  15. github-token: ${{ github.token }}
  16. issue-comment: >
  17. I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.
  18. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
  19. issue-inactive-days: '30'
  20. pr-comment: >
  21. I'm going to lock this pull request because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active contributions.
  22. If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
  23. pr-inactive-days: '30'