Skip to content

Commit 79188b0

Browse files
authored
Make label actions more convenient (#3771)
1 parent c0b15ec commit 79188b0

File tree

1 file changed

+68
-8
lines changed

1 file changed

+68
-8
lines changed

.github/label-actions.yml

Lines changed: 68 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,37 +8,97 @@
88
This issue is a duplicate. Please direct all discussion to the original issue.
99
# Close the issue
1010
close: true
11+
# Set a close reason
12+
close-reason: 'not planned'
1113
# Remove other status labels
1214
unlabel:
15+
- 'status: accepted'
16+
- 'status: bug reproduced'
17+
- 'status: cannot reproduce'
18+
- 'status: needs clarification'
19+
- 'status: needs revision'
20+
- 'status: pending pull request'
1321
- 'status: pending triage'
14-
# Set a close reason
15-
close-reason: 'not planned'
22+
- 'status: rejected'
23+
- 'status: resolved'
24+
- 'status: reviewing internally'
25+
- 'status: stale'
1626
prs:
1727
# Post a comment
1828
comment: >
1929
This pull request is a duplicate. Please direct all discussion to the original pull request.
20-
# Remove other status labels
21-
unlabel:
22-
- 'status: pending triage'
2330
# Close the pull request
2431
close: true
2532
# Set a close reason
2633
close-reason: 'not planned'
34+
# Remove other status labels
35+
unlabel:
36+
- 'status: accepted'
37+
- 'status: bug reproduced'
38+
- 'status: cannot reproduce'
39+
- 'status: needs clarification'
40+
- 'status: needs revision'
41+
- 'status: pending pull request'
42+
- 'status: pending triage'
43+
- 'status: rejected'
44+
- 'status: resolved'
45+
- 'status: reviewing internally'
46+
- 'status: stale'
2747

2848
'status: rejected':
2949
issues:
3050
# Close the issue
3151
close: true
52+
# Set a close reason
53+
close-reason: 'not planned'
3254
# Remove other status labels
3355
unlabel:
56+
- 'status: accepted'
57+
- 'status: bug reproduced'
58+
- 'status: cannot reproduce'
59+
- 'status: duplicate'
60+
- 'status: needs clarification'
61+
- 'status: needs revision'
62+
- 'status: pending pull request'
3463
- 'status: pending triage'
35-
# Set a close reason
36-
close-reason: 'not planned'
64+
- 'status: resolved'
65+
- 'status: reviewing internally'
66+
- 'status: stale'
3767
prs:
3868
# Close the pull request
3969
close: true
70+
# Set a close reason
71+
close-reason: 'not planned'
4072
# Remove other status labels
4173
unlabel:
74+
- 'status: accepted'
75+
- 'status: bug reproduced'
76+
- 'status: cannot reproduce'
77+
- 'status: duplicate'
78+
- 'status: needs clarification'
79+
- 'status: needs revision'
80+
- 'status: pending pull request'
4281
- 'status: pending triage'
82+
- 'status: resolved'
83+
- 'status: reviewing internally'
84+
- 'status: stale'
85+
86+
'status: resolved':
87+
issues:
88+
# Close the issue
89+
close: true
4390
# Set a close reason
44-
close-reason: 'not planned'
91+
close-reason: 'completed'
92+
# Remove other status labels
93+
unlabel:
94+
- 'status: accepted'
95+
- 'status: bug reproduced'
96+
- 'status: cannot reproduce'
97+
- 'status: duplicate'
98+
- 'status: needs clarification'
99+
- 'status: needs revision'
100+
- 'status: pending pull request'
101+
- 'status: pending triage'
102+
- 'status: rejected'
103+
- 'status: reviewing internally'
104+
- 'status: stale'

0 commit comments

Comments
 (0)