Yasoob Khalid 9/18/2019

Filtering & Closing Pull Requests on GitHub using the API

Read Original

This technical article details how to use the PyGithub library to automate the process of identifying and closing spam pull requests on GitHub. The author was motivated by an influx of spam comments on their static site and provides a step-by-step Python script to query the GitHub API, check PR bodies for specific keywords, and close them programmatically.

Filtering & Closing Pull Requests on GitHub using the API

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

No top articles yet