-
Notifications
You must be signed in to change notification settings - Fork 6
/
action.yml
29 lines (29 loc) · 1.37 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
name: 'Unassign inactive issues'
description: 'Automatically unassigns issues that have been inactive'
inputs:
token:
description: 'github token'
required: true
default: ''
unassign_inactive_in_hours:
description: 'Number of hours to wait before unassigning an issue'
required: false
default: 168 # 7 days
unassign_inactive_message:
description: 'Message posted on issue when unassigning'
required: false
default: "You’ve just been unassigned from this ticket due to inactivity – but feel free to pick it back up (or a new one!) in the future! Thank you again for your contribution to this project."
warning_inactive_in_hours:
description: 'Number of hours to wait before posting a warning message in an issue'
required: false
default: 120 # 5 days
warning_inactive_message:
description: 'Message posted on issue as unassign warning'
required: false
default: "Thanks for picking up this issue and supporting this project! It looks like there hasn’t been any activity on this ticket in a while. To keep things moving, you will be unassigned from this issue soon if there’s no new activity on it by then. But we encourage you to pick this issue (or a new one) back up in the future!"
contact_message:
description: 'Contact info sent along with the warning'
required: true
runs:
using: 'node12'
main: 'index.js'