-
-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathaction.yml
108 lines (108 loc) · 4.64 KB
/
action.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
name: 'Lock Threads'
description: 'Lock closed issues and pull requests after a period of inactivity'
author: 'Armin Sebastian'
inputs:
github-token:
description: 'GitHub access token'
default: '${{ github.token }}'
issue-inactive-days:
description: 'Number of days of inactivity before a closed issue is locked'
default: '365'
exclude-issue-created-before:
description: 'Do not lock issues created before a given date, value must follow ISO 8601'
default: ''
exclude-issue-created-after:
description: 'Do not lock issues created after a given date, value must follow ISO 8601'
default: ''
exclude-issue-created-between:
description: 'Do not lock issues created in a given time interval, value must follow ISO 8601'
default: ''
exclude-issue-closed-before:
description: 'Do not lock issues closed before a given date, value must follow ISO 8601'
default: ''
exclude-issue-closed-after:
description: 'Do not lock issues closed after a given date, value must follow ISO 8601'
default: ''
exclude-issue-closed-between:
description: 'Do not lock issues closed in a given time interval, value must follow ISO 8601'
default: ''
include-any-issue-labels:
description: 'Only lock issues with any of these labels, value must be a comma separated list of labels'
default: ''
include-all-issue-labels:
description: 'Only lock issues with all these labels, value must be a comma separated list of labels'
default: ''
exclude-any-issue-labels:
description: 'Do not lock issues with any of these labels, value must be a comma separated list of labels'
default: ''
add-issue-labels:
description: 'Labels to add before locking an issue, value must be a comma separated list of labels'
default: ''
remove-issue-labels:
description: 'Labels to remove before locking an issue, value must be a comma separated list of labels'
default: ''
issue-comment:
description: 'Comment to post before locking an issue'
default: ''
issue-lock-reason:
description: 'Reason for locking an issue, value must be one of `resolved`, `off-topic`, `too heated` or `spam`'
default: 'resolved'
pr-inactive-days:
description: 'Number of days of inactivity before a closed pull request is locked'
default: '365'
exclude-pr-created-before:
description: 'Do not lock pull requests created before a given date, value must follow ISO 8601'
default: ''
exclude-pr-created-after:
description: 'Do not lock pull requests created after a given date, value must follow ISO 8601'
default: ''
exclude-pr-created-between:
description: 'Do not lock pull requests created in a given time interval, value must follow ISO 8601'
default: ''
exclude-pr-closed-before:
description: 'Do not lock pull requests closed before a given date, value must follow ISO 8601'
default: ''
exclude-pr-closed-after:
description: 'Do not lock pull requests closed after a given date, value must follow ISO 8601'
default: ''
exclude-pr-closed-between:
description: 'Do not lock pull requests closed in a given time interval, value must follow ISO 8601'
default: ''
include-any-pr-labels:
description: 'Only lock pull requests with any of these labels, value must be a comma separated list of labels'
default: ''
include-all-pr-labels:
description: 'Only lock pull requests with all these labels, value must be a comma separated list of labels'
default: ''
exclude-any-pr-labels:
description: 'Do not lock pull requests with any of these labels, value must be a comma separated list of labels'
default: ''
add-pr-labels:
description: 'Labels to add before locking a pull request, value must be a comma separated list of labels'
default: ''
remove-pr-labels:
description: 'Labels to remove before locking a pull request, value must be a comma separated list of labels'
default: ''
pr-comment:
description: 'Comment to post before locking a pull request'
default: ''
pr-lock-reason:
description: 'Reason for locking a pull request, value must be one of `resolved`, `off-topic`, `too heated` or `spam`'
default: 'resolved'
process-only:
description: 'Limit locking to only issues or pull requests, value must be one of `issues` or `prs`'
default: ''
log-output:
description: 'Log output parameters, value must be either `true` or `false`'
default: false
outputs:
issues:
description: 'Issues that have been locked, value is a JSON string'
prs:
description: 'Pull requests that have been locked, value is a JSON string'
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'lock'
color: 'gray-dark'