A New Chrome Extension: Add Reviewers to GitHub PR with a Single Click

Doruk Güneş
2 min readSep 3, 2022

TLDR: Head over here for the Chrome extension to save the reviewers once and apply them as reviewers to your pull requests.

Why I (and maybe you) need this extension?

Have you ever found yourself adding the same reviewers over and over to your pull requests on Github and then it suddenly becomes a tedious and unpleasant job?

Adding your team as a single reviewer to your pull request may be a solution for you, however, you will lose some functionality over your pull request, if one of your team members reviews it, the other members of the team can not see it when they look at their review requested pull requests. This is my primary motivation to create this extension since I heavily rely on the “Review Requests” section on GitHub to see which pull requests need my attention.

In some cases, you may find Github’s auto-assignment feature useful if you are a part of an Organization.

The “GitHub Add Bulk Reviewers” is a very simple extension, in which you add and save your reviewers, so whenever you created a new pull request you can hit the “Update Pull Request” button to add all the reviewers at once, eliminating the need of adding each of them one by one.

How to use:

1 — Download and open the extension (make sure you “pin” the extension)

Extension is pinned

2 — Add your Github usernames and click “Save Reviewers”.

3 — Once you open a pull request (this is very important, the extension does not gonna work if the pull request is not open) open the extension and click the “Update Pull Request” button to add all the usernames as reviewers.

What the extension does behind the scene

Once you press the “Update Pull Request” button:

1 —The extension first requests the available reviewers via an HTTP request.

2 — Then it filters the available reviewers with the usernames which you saved previously, to find out the user identifiers for the reviewers.

3 — Then it executes a script that creates form data using the reviewer identifiers and posts the form data request which adds those ids as reviewers to your pull request.

There is no planned new feature for the extension right at the moment however I am fully open to your suggestions and feedback. I hope that this extension will save you from a super repetitive job and ease your mind a bit.

--

--