Merge branch 'obsd-master'
[tmux.git] / .github / workflows / lock.yml
blob81b445bcb89e7fb6dcbb4c055819c1ea22c407da
1 name: 'Lock Threads'
3 on:
4   schedule:
5     - cron: '0 0 * * *'
6   workflow_dispatch:
8 permissions:
9   issues: write
10   pull-requests: write
11   discussions: write
13 concurrency:
14   group: lock-threads
16 jobs:
17   action:
18     runs-on: ubuntu-latest
19     steps:
20       - uses: dessant/lock-threads@v5
21         with:
22           github-token: ${{ github.token }}
23           issue-inactive-days: '30'
24           issue-comment: >
25             This issue has been automatically locked since there
26             has not been any recent activity after it was closed.
27           pr-inactive-days: '60'
28           pr-comment: >
29             This pull request has been automatically locked since there
30             has not been any recent activity after it was closed.
31           discussion-inactive-days: '60'
32           discussion-comment: >
33             This discussion has been automatically locked since there
34             has not been any recent activity after it was closed.