Skip to content

Commit 5483543

Browse files
Label Actions (Hopefully the anti-cheat is finalized for this)
Signed-off-by: CrusherNotDrip <crushernotdrip@tilnotdrip.org>
1 parent e0fd50d commit 5483543

2 files changed

Lines changed: 284 additions & 0 deletions

File tree

.github/configs/label-actions.yml

Lines changed: 262 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,262 @@
1+
'Status: Fixed':
2+
issues:
3+
close: true
4+
close-reason: completed
5+
unlabel:
6+
- 'Status: Accepted'
7+
- 'Status: Awaiting PR'
8+
- 'Status: Duplicate'
9+
- 'Status: Pending...'
10+
- 'Status: Planned'
11+
- 'Status: Rejected'
12+
- 'Status: Reproduced Bug'
13+
- 'Status: Requires Changes'
14+
- 'Status: Stale'
15+
16+
'Status: Accepted':
17+
prs:
18+
close: true
19+
close-reason: completed
20+
unlabel:
21+
- 'Status: Fixed'
22+
- 'Status: Awaiting PR'
23+
- 'Status: Duplicate'
24+
- 'Status: Pending...'
25+
- 'Status: Planned'
26+
- 'Status: Rejected'
27+
- 'Status: Reproduced Bug'
28+
- 'Status: Requires Changes'
29+
- 'Status: Stale'
30+
31+
'Status: Awaiting PR':
32+
issues:
33+
reopen: true
34+
unlabel:
35+
- 'Status: Fixed'
36+
- 'Status: Accepted'
37+
- 'Status: Duplicate'
38+
- 'Status: Pending...'
39+
- 'Status: Planned'
40+
- 'Status: Rejected'
41+
- 'Status: Reproduced Bug'
42+
- 'Status: Requires Changes'
43+
- 'Status: Stale'
44+
45+
# TilNotDrip Anti-Cheat
46+
47+
- 'Trophy: First *EVER* completed issue'
48+
- 'Trophy: First completed issue'
49+
50+
'Status: Duplicate':
51+
issues:
52+
comment: >
53+
This issue has been closed due to being an duplicate of another issue, next time ensure that this issue hasn't already been opened beforehand.
54+
The TilNotDrip Anti-Cheat has also been activated against this issue to ensure fair-play for all TilNotDrip contributors.
55+
56+
prs:
57+
comment: >
58+
This pull request has been closed due to being an duplicate of another pull request, next time ensure that this pull request hasn't already been opened beforehand.
59+
The TilNotDrip Anti-Cheat has also been activated against this pull request to ensure fair-play for all TilNotDrip contributors.
60+
61+
close: true
62+
close-reason: duplicate
63+
unlabel:
64+
- 'Status: Fixed'
65+
- 'Status: Accepted'
66+
- 'Status: Awaiting PR'
67+
- 'Status: Pending...'
68+
- 'Status: Planned'
69+
- 'Status: Rejected'
70+
- 'Status: Reproduced Bug'
71+
- 'Status: Requires Changes'
72+
- 'Status: Stale'
73+
74+
# TilNotDrip Anti-Cheat
75+
76+
- 'Trophy: First *EVER* completed issue'
77+
- 'Trophy: First *EVER* merged pr'
78+
- 'Trophy: First *EVER* opened issue'
79+
- 'Trophy: First *EVER* opened pr'
80+
- 'Trophy: First completed issue'
81+
- 'Trophy: First merged pr'
82+
- 'Trophy: First opened issue'
83+
- 'Trophy: First opened pr'
84+
- 'Trophy: Good formatted issue'
85+
- 'Trophy: MASSIVE'
86+
87+
'Status: Pending...':
88+
reopen: true
89+
unlabel:
90+
- 'Status: Fixed'
91+
- 'Status: Accepted'
92+
- 'Status: Awaiting PR'
93+
- 'Status: Duplicate'
94+
- 'Status: Planned'
95+
- 'Status: Rejected'
96+
- 'Status: Reproduced Bug'
97+
- 'Status: Requires Changes'
98+
- 'Status: Stale'
99+
100+
# TilNotDrip Anti-Cheat
101+
102+
- 'Trophy: First *EVER* completed issue'
103+
- 'Trophy: First *EVER* merged pr'
104+
- 'Trophy: First completed issue'
105+
- 'Trophy: First merged pr'
106+
107+
108+
'Status: Planned':
109+
reopen: true
110+
unlabel:
111+
- 'Status: Fixed'
112+
- 'Status: Accepted'
113+
- 'Status: Awaiting PR'
114+
- 'Status: Duplicate'
115+
- 'Status: Pending...'
116+
- 'Status: Rejected'
117+
- 'Status: Reproduced Bug'
118+
- 'Status: Requires Changes'
119+
- 'Status: Stale'
120+
121+
# TilNotDrip Anti-Cheat
122+
123+
- 'Trophy: First *EVER* completed issue'
124+
- 'Trophy: First *EVER* merged pr'
125+
- 'Trophy: First completed issue'
126+
- 'Trophy: First merged pr'
127+
128+
'Status: Rejected':
129+
close: true
130+
close-reason: not planned
131+
unlabel:
132+
- 'Status: Fixed'
133+
- 'Status: Accepted'
134+
- 'Status: Awaiting PR'
135+
- 'Status: Duplicate'
136+
- 'Status: Pending...'
137+
- 'Status: Planned'
138+
- 'Status: Reproduced Bug'
139+
- 'Status: Requires Changes'
140+
- 'Status: Stale'
141+
142+
# TilNotDrip Anti-Cheat
143+
144+
- 'Trophy: First *EVER* completed issue'
145+
- 'Trophy: First *EVER* merged pr'
146+
- 'Trophy: First completed issue'
147+
- 'Trophy: First merged pr'
148+
149+
'Status: Reproduced Bug':
150+
issues:
151+
reopen: true
152+
unlabel:
153+
- 'Status: Fixed'
154+
- 'Status: Accepted'
155+
- 'Status: Awaiting PR'
156+
- 'Status: Duplicate'
157+
- 'Status: Pending...'
158+
- 'Status: Planned'
159+
- 'Status: Rejected'
160+
- 'Status: Requires Changes'
161+
- 'Status: Stale'
162+
163+
# TilNotDrip Anti-Cheat
164+
165+
- 'Trophy: First *EVER* completed issue'
166+
- 'Trophy: First completed issue'
167+
168+
'Status: Requires Changes':
169+
prs:
170+
reopen: true
171+
unlabel:
172+
- 'Status: Fixed'
173+
- 'Status: Accepted'
174+
- 'Status: Awaiting PR'
175+
- 'Status: Duplicate'
176+
- 'Status: Pending...'
177+
- 'Status: Planned'
178+
- 'Status: Rejected'
179+
- 'Status: Stale'
180+
181+
# TilNotDrip Anti-Cheat
182+
183+
- 'Trophy: First *EVER* merged pr'
184+
- 'Trophy: First merged pr'
185+
186+
'Status: Stale':
187+
close: true
188+
close-reason: outdated
189+
unlabel:
190+
- 'Status: Fixed'
191+
- 'Status: Accepted'
192+
- 'Status: Awaiting PR'
193+
- 'Status: Duplicate'
194+
- 'Status: Pending...'
195+
- 'Status: Planned'
196+
- 'Status: Rejected'
197+
- 'Status: Requires Changes'
198+
199+
'Special: Unwanted Spam':
200+
issues:
201+
comment: >
202+
This has been closed due to being marked as unwanted spam.
203+
The TilNotDrip Anti-Cheat has also been activated against this issue to ensure fair-play for all TilNotDrip contributors.
204+
205+
prs:
206+
comment: >
207+
This has been closed due to being marked as unwanted spam.
208+
The TilNotDrip Anti-Cheat has also been activated against this pull request to ensure fair-play for all TilNotDrip contributors.
209+
210+
close: true
211+
close-reason: not planned
212+
lock: true
213+
lock-reason: spam
214+
unlabel:
215+
- 'Issue: Bug'
216+
- 'Issue: Compliling'
217+
- 'Issue: Documentation'
218+
- 'Issue: Enhancement'
219+
- 'Issue: GitHub'
220+
- 'Platform: Android'
221+
- 'Platform: iOS'
222+
- 'Platform: Linux'
223+
- 'Platform: Mac'
224+
- 'Platform: Mobile'
225+
- 'Platform: PC'
226+
- 'Platform: Windows'
227+
- 'PR: Bug'
228+
- 'PR: Compliling'
229+
- 'PR: Documentation'
230+
- 'PR: Enhancement'
231+
- 'PR: GitHub'
232+
- 'Priority: High'
233+
- 'Priority: Low'
234+
- 'Priority: Medium'
235+
- 'Priority: Urgent'
236+
- 'Size: Large'
237+
- 'Size: Medium'
238+
- 'Size: Small'
239+
- 'Special: Help Wanted'
240+
- 'Status: Fixed'
241+
- 'Status: Accepted'
242+
- 'Status: Awaiting PR'
243+
- 'Status: Duplicate'
244+
- 'Status: Pending...'
245+
- 'Status: Planned'
246+
- 'Status: Reproduced Bug'
247+
- 'Status: Rejected'
248+
- 'Status: Requires Changes'
249+
- 'Status: Stale'
250+
251+
# TilNotDrip Anti-Cheat
252+
253+
- 'Trophy: First *EVER* completed issue'
254+
- 'Trophy: First *EVER* merged pr'
255+
- 'Trophy: First *EVER* opened issue'
256+
- 'Trophy: First *EVER* opened pr'
257+
- 'Trophy: First completed issue'
258+
- 'Trophy: First merged pr'
259+
- 'Trophy: First opened issue'
260+
- 'Trophy: First opened pr'
261+
- 'Trophy: Good formatted issue'
262+
- 'Trophy: MASSIVE'
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Label Actions
2+
3+
on:
4+
issues:
5+
types: [labeled, unlabeled]
6+
pull_request_target:
7+
types: [labeled, unlabeled]
8+
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
13+
discussions: write
14+
15+
jobs:
16+
action:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: dessant/label-actions@v5
20+
with:
21+
config-path: '.github/configs/label-actions.yml'
22+
process-only: 'issues, prs'

0 commit comments

Comments
 (0)