forked from aws-github-ops/handle-stale-discussions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
42 lines (42 loc) · 1.21 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
name: 'Handle stale discussions'
description: 'Custom GH action on discussions'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
color: orange
icon: cloud
inputs:
attention-label:
description: 'Label to add to stale discussions'
required: false
default: 'attention'
github-token:
description: 'GitHub token'
required: false
days-until-stale:
description: 'Number of days of inactivity before a discussion is considered stale'
required: false
default: 7
close-locked-discussions:
description: 'Close locked discussions'
required: false
default: true
close-answered-discussions:
description: 'Close answered discussions'
required: false
default: true
stale-response-text:
description: 'Comment to post when marking a discussion as stale'
required: false
instructions-response-text:
description: 'Comment to post when a proposed answer is given'
required: false
proposed-answer-keyword:
description: 'Keyword to use to indicate a proposed answer'
required: false
default: '@github-actions proposed-answer'
close-stale-as-answered:
description: 'Close stale discussions as answered'
required: false
default: false