forked from conda/conda
-
Notifications
You must be signed in to change notification settings - Fork 0
56 lines (47 loc) · 2.35 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: 'Lock Threads'
on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'
permissions:
issues: write
pull-requests: write
jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2
id: lock-threads
with:
# Number of days of inactivity before a closed issue is locked
issue-lock-inactive-days: '365'
# Do not lock issues created before a given timestamp, value must follow ISO 8601
issue-exclude-created-before: ''
# Do not lock issues with these labels, value must be a comma separated list of labels or ''
issue-exclude-labels: ''
# Labels to add before locking an issue, value must be a comma separated list of labels or ''
issue-lock-labels: 'locked'
# Comment to post before locking an issue
issue-lock-comment: |
Hi there, thank you for your contribution to Conda!
This issue has been automatically locked since it has not had recent activity after it was closed.
Please open a new issue if needed.
# Reason for locking an issue, value must be one of resolved, off-topic, too heated, spam or ''
issue-lock-reason: 'resolved'
# Number of days of inactivity before a closed pull request is locked
pr-lock-inactive-days: '365'
# Do not lock pull requests created before a given timestamp, value must follow ISO 8601
pr-exclude-created-before: ''
# Do not lock pull requests with these labels, value must be a comma separated list of labels or ''
pr-exclude-labels: ''
# Labels to add before locking a pull request, value must be a comma separated list of labels or ''
pr-lock-labels: 'locked'
# Comment to post before locking a pull request
pr-lock-comment: |
Hi there, thank you for your contribution to Conda!
This pull request has been automatically locked since it has not had recent activity after it was closed.
Please open a new issue or pull request if needed.
# Reason for locking a pull request, value must be one of resolved, off-topic, too heated, spam or ''
pr-lock-reason: 'resolved'
# Limit locking to only issues or pull requests, value must be one of issues, prs or ''
process-only: ''