tmux/.github/workflows/lock.yml

35 lines
942 B
YAML
Raw Permalink Normal View History

2021-06-10 08:56:35 +00:00
name: 'Lock Threads'
on:
schedule:
2021-06-11 07:30:51 +00:00
- cron: '0 0 * * *'
2024-03-06 21:45:26 +00:00
workflow_dispatch:
2021-06-10 08:56:35 +00:00
permissions:
2024-03-06 21:45:26 +00:00
issues: write
pull-requests: write
discussions: write
concurrency:
group: lock-threads
2021-06-10 08:56:35 +00:00
jobs:
2024-03-06 21:45:26 +00:00
action:
2021-06-10 08:56:35 +00:00
runs-on: ubuntu-latest
steps:
2024-03-06 21:45:26 +00:00
- uses: dessant/lock-threads@v5
2021-06-10 08:56:35 +00:00
with:
github-token: ${{ github.token }}
2024-03-06 21:45:26 +00:00
issue-inactive-days: '30'
issue-comment: >
2021-06-10 08:56:35 +00:00
This issue has been automatically locked since there
has not been any recent activity after it was closed.
2024-03-06 21:45:26 +00:00
pr-inactive-days: '60'
pr-comment: >
2021-06-10 08:56:35 +00:00
This pull request has been automatically locked since there
has not been any recent activity after it was closed.
2024-03-06 21:45:26 +00:00
discussion-inactive-days: '60'
discussion-comment: >
This discussion has been automatically locked since there
has not been any recent activity after it was closed.