-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
34 lines (29 loc) · 1.12 KB
/
lock-threads.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: 'Lock threads older than 120 days'
on:
schedule:
- cron: '17 3 * * 7'
workflow_dispatch:
permissions:
issues: write
pull-requests: write
concurrency:
group: lock-threads
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
issue-inactive-days: '120'
issue-lock-reason: 'resolved'
issue-comment: >
This issue has been inactive for 120 days, we're locking it to keep discussions tidy and focused.
If you believe this issue is still relevant, we encourage you to update Nextcloud to the latest supported version first.
If needed, feel free to create a new issue, and we'll be happy to help.
pr-inactive-days: '120'
pr-lock-reason: 'resolved'
pr-comment: >
This PR has been inactive for 120 days, we're locking it to keep discussions tidy and focused.
If this PR is causing any issues, feel free to create a new issue, and we'll be happy to help.