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

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

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

oh nice!

Collapse
 
ben profile image
Ben Halpern

😵‍💫

Collapse
 
ladykerr profile image
Kedasha

right, lol

Collapse
 
pratikaambani profile image
Pratik Ambani

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

Collapse
 
ladykerr profile image
Kedasha

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

That's what Im saying!

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
 
nicekate profile image
nicekate

Awesome, thanks for sharing