Skip to content

Commit bcf441b

Browse files
authored
Merge branch 'trunk' into syber911911-feature-branch
2 parents abfe72a + 8fc4299 commit bcf441b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+929
-531
lines changed

.github/workflows/delete-comments.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
script: |
1919
const comment = context.payload.comment.body;
20-
const triggerStrings = ['www.mediafire.com', 'Download'];
20+
const triggerStrings = ['www.mediafire.com'];
2121
return triggerStrings.some(triggerString => comment.includes(triggerString));
2222
2323
- name: Delete comment if it contains any of the specific strings
@@ -26,20 +26,19 @@ jobs:
2626
with:
2727
script: |
2828
const commentId = context.payload.comment.id;
29-
await github.issues.deleteComment({
29+
await github.rest.issues.deleteComment({
3030
owner: context.repo.owner,
3131
repo: context.repo.repo,
3232
comment_id: commentId
3333
});
3434
35-
- name: Block user if comment contains any of the specific strings
35+
- name: Block user from the org if their comment contained any of the banned strings
3636
if: steps.check_comment.outputs.result == 'true'
3737
uses: actions/github-script@v7
3838
with:
3939
script: |
40-
const userId = context.payload.comment.user.id;
41-
await github.users.block({
42-
owner: context.repo.owner,
43-
repo: context.repo.repo,
44-
user_id: userId
40+
const username = context.payload.comment.user.login
41+
await github.rest.orgs.blockUser({
42+
org: context.repo.owner,
43+
username: username
4544
});

AUTHORS

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Ahmed Ashour <[email protected]>
2323
2424
Ajay Kemparaj <[email protected]>
2525
26+
Ákos Lukács <[email protected]>
2627
2728
Al Sutton <[email protected]>
2829
Alan Baird <[email protected]>
@@ -71,6 +72,7 @@ Andrei Solntsev <[email protected]>
7172
Andrey Botalov <[email protected]>
7273
Andrii Rohovets <[email protected]>
7374
Andy Duncan <[email protected]>
75+
Angie Jones <[email protected]>
7476
anonymous_sdet <[email protected]>
7577
Anthony Sottile <[email protected]>
7678
Anton Usmansky <[email protected]>
@@ -135,6 +137,7 @@ Carlos Ortega <[email protected]>
135137
Carlos Villela
136138
Carson McDonald <[email protected]>
137139
ce86f3bb9faf71e <[email protected]>
140+
Cédric Boutillier <[email protected]>
138141
Cervac Petru <[email protected]>
139142
cezarelnazli <[email protected]>
140143
@@ -146,6 +149,7 @@ Chirag Jayswal <[email protected]>
146149
147150
Chris Block <[email protected]>
148151
Chris Gamache <[email protected]>
152+
Chris Gossett <[email protected]>
149153
Chris Martin <[email protected]>
150154
Chris Mohr <[email protected]>
151155
Chris Stringer <[email protected]>
@@ -170,7 +174,6 @@ Coty Rosenblath <[email protected]>
170174
Craig Nishina <[email protected]>
171175
172176
customcommander <[email protected]>
173-
Cédric Boutillier <[email protected]>
174177
175178
Damien Allison <[email protected]>
176179
@@ -222,6 +225,7 @@ Diego Fernández Santos <[email protected]>
222225
Diego Molina <[email protected]>
223226
Dima Kovalenko <[email protected]>
224227
Dima Veselov <[email protected]>
228+
Diogo Teles Sant'Anna <[email protected]>
225229
Dmitriy Sintsov <[email protected]>
226230
Dmitry Dubenets <[email protected]>
227231
Dmitry Tokarev <[email protected]>
@@ -263,6 +267,7 @@ Eric Plaster <[email protected]>
263267
Erik Beans <[email protected]>
264268
Erik E. Beerepoot <[email protected]>
265269
Erik Kuefler <[email protected]>
270+
Étienne Barrié <[email protected]>
266271
Evan Sangaline <[email protected]>
267272
Evgeniy Roldukhin <[email protected]>
268273
@@ -274,10 +279,10 @@ Florian LOPES <[email protected]>
274279
Florian Mutter <[email protected]>
275280
Florian Zipperle <[email protected]>
276281
Francis Bergin <[email protected]>
277-
Franz Liedke <[email protected]>
278282
François Freitag <[email protected]>
279283
François JACQUES <[email protected]>
280284
François Reynaud <[email protected]>
285+
Franz Liedke <[email protected]>
281286
Frederik Carlier <[email protected]>
282287
Fredrik Wollsén <[email protected]>
283288
@@ -420,6 +425,7 @@ Jim van Musscher <[email protected]>
420425
421426
422427
jmuramatsu <[email protected]>
428+
João Luca Ripardo <[email protected]>
423429
Joaquín Romero <[email protected]>
424430
jochenberger <[email protected]>
425431
Joe Bandenburg <[email protected]>
@@ -451,12 +457,12 @@ Jonathan Lipps <[email protected]>
451457
Jonathon Kereliuk <[email protected]>
452458
Jongkuen Hong <[email protected]>
453459
Jordan Mace <[email protected]>
460+
Jörg Sautter <[email protected]>
454461
455462
Josh Goldberg <[email protected]>
456463
Joshua Bruning <[email protected]>
457464
Joshua Fehler <[email protected]>
458465
Joshua Grant <[email protected]>
459-
João Luca Ripardo <[email protected]>
460466
JT Archie <[email protected]>
461467
jugglinmike <[email protected]>
462468
Julian Didier <[email protected]>
@@ -471,7 +477,6 @@ Justin Tulloss <[email protected]>
471477
Justine Tunney <[email protected]>
472478
473479
474-
Jörg Sautter <[email protected]>
475480
Kamen Litchev <[email protected]>
476481
Karl Kuehn <[email protected]>
477482
Karl-Philipp Richter <[email protected]>
@@ -525,10 +530,10 @@ Lucas Diniz <[email protected]>
525530
Lucas Tierney <[email protected]>
526531
Luis Correia <[email protected]>
527532
Luis Pflamminger <[email protected]>
533+
Lukáš Linhart <[email protected]>
528534
Luke Hill <[email protected]>
529535
Luke Inman-Semerau <[email protected]>
530536
531-
Lukáš Linhart <[email protected]>
532537
Lyudmil Latinov <[email protected]>
533538
Machinexa2 <[email protected]>
534539
Maciej Pakulski <[email protected]>
@@ -607,6 +612,7 @@ ming <[email protected]>
607612
Mirko Nasato
608613
mitchloudenbeck <[email protected]>
609614
Miten Chauhan <[email protected]>
615+
610616
611617
MMK-IBSEN <[email protected]>
612618
Mohab Mohie <[email protected]>
@@ -621,6 +627,7 @@ mpurland <[email protected]>
621627
622628
Mubariz Hajimuradov <[email protected]>
623629
Muhammad Hammad <[email protected]>
630+
MustafaAgamy <[email protected]>
624631
Muthu Kannan
625632
MWschutte <[email protected]>
626633
@@ -629,6 +636,7 @@ Nathan Isom <[email protected]>
629636
native-api <[email protected]>
630637
631638
Naveen Singh <[email protected]>
639+
Navin Chandra <[email protected]>
632640
Neil Carvalho <[email protected]>
633641
Nelson Sproul <[email protected]>
634642
Nick Crews <[email protected]>
@@ -671,6 +679,7 @@ Patrick Lightbody <[email protected]>
671679
Paul G Webster <[email protected]>
672680
Paul Hammant <[email protected]>
673681
Pavel Lobashov <[email protected]>
682+
Pavel Sobolev <[email protected]>
674683
Perryn Fowler <[email protected]>
675684
Pete Johns <[email protected]>
676685
Peter Hedenskog <[email protected]>
@@ -774,6 +783,7 @@ Shishu Raj Pandey <[email protected]>
774783
Shreyan Avigyan <[email protected]>
775784
Shubham Singh <[email protected]>
776785
Shuhai Shen <[email protected]>
786+
Simon Benzer <[email protected]>
777787
778788
Simon Perepelitsa <[email protected]>
779789
Simon Stewart <[email protected]>
@@ -805,9 +815,9 @@ take0x <[email protected]>
805815
Takeshi Kishi <[email protected]>
806816
Takuho NAKANO <[email protected]>
807817
Takuma Chiba <[email protected]>
818+
Tamás Buka <[email protected]>
808819
Tamas Utasi <[email protected]>
809820
Tamsil Sajid Amani <[email protected]>
810-
Tamás Buka <[email protected]>
811821
Tatsuya Hoshino <[email protected]>
812822
Terence Haddock
813823
@@ -850,6 +860,7 @@ Ulf Adams <[email protected]>
850860
Ulrich Buchgraber <[email protected]>
851861
User253489 <[email protected]>
852862
863+
Václav Votípka <[email protected]>
853864
Valery Yatsynovich <[email protected]>
854865
Varun Menon <[email protected]>
855866
varunsurapaneni <[email protected]>
@@ -874,7 +885,6 @@ Vladimir Támara Patiño <[email protected]>
874885
VladimirPodolyan <[email protected]>
875886
Vladislav Velichko <[email protected]>
876887
Vyvyan Codd
877-
Václav Votípka <[email protected]>
878888
Werner Robitza <[email protected]>
879889
880890
@@ -896,6 +906,4 @@ Zhuo Peng <[email protected]>
896906
897907
Zoltar - Knower of All
898908
899-
Ákos Lukács <[email protected]>
900-
Étienne Barrié <[email protected]>
901909
保木本将之 <[email protected]>

0 commit comments

Comments
 (0)