DEV Community

Cover image for How I Bulk Closed 1000+ GitHub Issues with GitHub Actions 🚀

How I Bulk Closed 1000+ GitHub Issues with GitHub Actions 🚀

Kedasha on January 17, 2024

Now why would I want to do this huh? 🤔 Well, we have a private repo where maintainers are able to make requests to join the private maintainer co...
Collapse
 
cassidoo profile image
Cassidy Williams •

This is so helpful, thank you for writing it!

Collapse
 
ladykerr profile image
Kedasha GitHub •

awh! Thanks Cassidy!

Collapse
 
michaeltharrington profile image
Michael Tharrington •

As someone who has spent a lot of time removing junk content from this very community, I very much feel you on this. And wow, I appreciate you keeping your teammates from having to close each one of these out manually... that would've been such a headache. 🙀

Collapse
 
ladykerr profile image
Kedasha GitHub •

such a headache! They were trucking through them because no time to look into it previously. Such a weight lifted tbh

Collapse
 
luc122c profile image
Luke Nelson •

Good solution! When I had to batch- update pull requests from “Ready” to “Draft”, I used a bash script and the GitHub CLI. It took a while to run, I suspect the CLI was trying to avoid rate limits, but it worked. The end result was very similar to your action, except I could run it locally :)

Collapse
 
ladykerr profile image
Kedasha GitHub •

oh nice!

Collapse
 
ben profile image
Ben Halpern •

😵‍💫

Collapse
 
ladykerr profile image
Kedasha GitHub •

right, lol

Collapse
 
der_gopher profile image
Alex Pliutau •

Great write-up! We also have a bunch of articles on Github Actions in our Newsletter, check it out - packagemain.tech/p/github-actions-...

Collapse
 
pratikaambani profile image
Pratik Ambani •

Great one! Can you suggest decent tutorials to learn GitHub Actions?

Collapse
 
ladykerr profile image
Kedasha GitHub •

yes! You can learn GitHub Actions here: learn.microsoft.com/en-us/collecti... THEN get certified in GitHub Actions: resources.github.com/learn/certifi... after you complete the training!

Collapse
 
jamesmurdza profile image
James Murdza •

What's the source/reason for this kind of spam?

Collapse
 
ladykerr profile image
Kedasha GitHub •

That's what Im saying!

Collapse
 
nicekate profile image
nicekate •

Awesome, thanks for sharing