mirror of
https://github.com/tmux/tmux.git
synced 2024-12-04 11:55:56 +00:00
Update lock.yml.
This commit is contained in:
parent
f3f1c3db58
commit
bdb6321229
29
.github/workflows/lock.yml
vendored
29
.github/workflows/lock.yml
vendored
@ -3,27 +3,32 @@ name: 'Lock Threads'
|
|||||||
on:
|
on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 0 * * *'
|
- cron: '0 0 * * *'
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
issues: write
|
||||||
|
pull-requests: write
|
||||||
|
discussions: write
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: lock-threads
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lock:
|
action:
|
||||||
permissions:
|
|
||||||
issues: write # for dessant/lock-threads to lock issues
|
|
||||||
pull-requests: write # for dessant/lock-threads to lock PRs
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: dessant/lock-threads@v2
|
- uses: dessant/lock-threads@v5
|
||||||
with:
|
with:
|
||||||
github-token: ${{ github.token }}
|
github-token: ${{ github.token }}
|
||||||
issue-lock-inactive-days: '30'
|
issue-inactive-days: '30'
|
||||||
pr-lock-inactive-days: '60'
|
issue-comment: >
|
||||||
issue-lock-comment: >
|
|
||||||
This issue has been automatically locked since there
|
This issue has been automatically locked since there
|
||||||
has not been any recent activity after it was closed.
|
has not been any recent activity after it was closed.
|
||||||
Please open a new issue for related bugs.
|
pr-inactive-days: '60'
|
||||||
pr-lock-comment: >
|
pr-comment: >
|
||||||
This pull request has been automatically locked since there
|
This pull request has been automatically locked since there
|
||||||
has not been any recent activity after it was closed.
|
has not been any recent activity after it was closed.
|
||||||
Please open a new issue for related bugs.
|
discussion-inactive-days: '60'
|
||||||
|
discussion-comment: >
|
||||||
|
This discussion has been automatically locked since there
|
||||||
|
has not been any recent activity after it was closed.
|
||||||
|
Loading…
Reference in New Issue
Block a user