lock.yml 730 B

123456789101112131415161718192021
  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-inactive-days: '30'
  17. issue-lock-reason: resolved
  18. pr-inactive-days: '30'
  19. pr-lock-reason: resolved