github.com/vmware/govmomi@v0.51.0/.github/workflows/govmomi-lock.yml (about)

     1  name: Lock Threads
     2  
     3  permissions:
     4    contents: read
     5    issues: write
     6    pull-requests: write
     7  
     8  on:
     9    schedule:
    10      - cron: 30 00 * * *
    11  
    12  jobs:
    13    lock:
    14      runs-on: ubuntu-latest
    15      steps:
    16        - uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
    17          with:
    18            github-token: '${{ secrets.GITHUB_TOKEN }}'
    19            issue-comment: >
    20              I'm going to lock this issue because it has been closed for 30
    21              days. This helps our maintainers find and focus on the active
    22              issues.
    23  
    24  
    25              If you have found a problem that seems similar to this,
    26              please open a new issue and complete the issue template so we can
    27              capture all the details necessary to investigate further.
    28            issue-inactive-days: 30
    29            pr-comment: >
    30              I'm going to lock this pull request because it has been closed for
    31              30 days. This helps our maintainers find and focus on the active
    32              issues.
    33  
    34  
    35              If you have found a problem that seems related to this
    36              change, please open a new issue and complete the issue template so
    37              we can capture all the details necessary to investigate further.
    38            pr-inactive-days: 30