Skip to content

How to search and filter issues and pull requests in Github by author

Erica Pisani
Erica Pisani
1 min read
How to search and filter issues and pull requests in Github by author

If you ever find yourself needing to find issues or pull requests created by someone (or a few someones) in Github, here are a few quick tips for how to do that.

First up - when you're looking for an individual, you'll want to use the author tag:

author:<github-username-you're-looking-for>

If you're looking for multiple people (as if you were running an 'or' statement) you can stack them like this:

author:<github-username-1> author:<github-username-2>

It should be noted though that this currently only works at https://github.com/search and not the search field that appears above the page containing the list of issues and pull requests within a repository:

Stacking 'author' queries won't work here!

If you're looking for pull requests that someone created, you'll want to use is:pr:

author:<github-username> is:pr

If it's issues that they've created, then you'll want is:issue:

author:<github-username> is:issue

If it's issues or pull requests that they've participated in, but didn't create, then you'll might want to use the involves keyword. This works as an 'or' between the author, assignee, mentions, and commenter keywords.

Happy searching!


📫
Enjoy this post? Subscribe to be notified when I publish new content!
tips-and-tricks

Comments


Related Posts

Members Public

How to install a Nerd Font on Warp

I started using Vim as my IDE of choice recently, and one of the things I wanted early on was a more visually appealing icon and font set. I kept reading about Nerd Fonts so I decided to try installing one, but the instructions for doing so were both clear

Members Public

How to change the version of an npm package associated with a specific tag

If publishing experimental npm packages is a somewhat regular part of your development workflow, you've likely experienced some nerves around publishing that package incorrectly such that it becomes the version that anyone newly installing or upgrading the package gets. If you find that you accidentally did exactly this

How to change the version of an npm package associated with a specific tag
Members Public

Tips for maintaining peak health before conference speaking

Being a speaker is intense energy- and time-wise and we can sometimes forget to take care of ourselves as a result. While there are a lot of guides and posts out there for things like navigating the 'call for proposals' process, making great slide decks, and speaking with

Tips for maintaining peak health before conference speaking