Questions tagged [github-search]
22 questions
4
votes
2 answers
How can I find what version of an npm module is used across github repo?
I have an npm module I develop. I want to know which version of this module is being used across the different projects in my company's organization repository. Is there a way to run a search for a specific versions of a module?
For example my…

Technotronic
- 8,424
- 4
- 40
- 53
3
votes
2 answers
How to use Github search for pull request within a time range
I'm using https://github.com/pulls to run some queries to find PRs reviewed by team members following examples at https://docs.github.com/en/search-github/searching-on-github/searching-issues-and-pull-requests
This is what I'm using right now,
is:pr…

Rohini
- 91
- 2
- 8
3
votes
2 answers
How to search GitHub issues for the ones you're watching?
How can we search/filter GitHub issues for the ones you've previously marked as 'watching'?
I can't spot any way to do it via the GUI, but perhaps there's some search parameter?
I took a guess and tried watching:true and currentUser(), but neither…

stevec
- 41,291
- 27
- 223
- 311
2
votes
0 answers
GitHub search for code text in limited list of repositories
In GitHub I want to search for certain references in code inside a limited set of repositories.
I have this GitHub query, and it gives me what I want in terms of the repos I want to search in:
org:MYORG repo.name.partial in:name…

Kenobi
- 465
- 6
- 13
2
votes
1 answer
How would I search Github issues created in the last x days?
Also asked here but in 2016 and with no working answer.
I'd like to search for issues created x number of days ago, but can only find how to search using actual (hardcoded, if you will) dates. For example, I want to search for issues created less…

zeepk
- 108
- 6
2
votes
1 answer
Search github repo for term with special characters using sourcegraph?
The top answer to How to search on GitHub to get exact string matches, including special characters shows a way to search GitHub for terms that include special characters using a tool called sourcegraph.
I got that…

stevec
- 41,291
- 27
- 223
- 311
1
vote
0 answers
How to search GitHub for GitHub Actions repos?
GitHub's official Actions are available in the repositories here: https://github.com/actions
Third party Actions can be found somewhat haphazardly (by browsing repositories and scanning their readmes). Example:…

stevec
- 41,291
- 27
- 223
- 311
1
vote
0 answers
I keep hitting `You have exceeded a secondary rate limit` on my Github API after just 4 request in a minute when using search
I am using the api endpoint https://api.github.com/search/code? and just after hitting 3 or 4 request in a minute the response is showing me that I have exceeded my limit.
According to the documentation we have a limit of 30 request in a minute.

FaizanNehal
- 22
- 5
1
vote
1 answer
How do I get all 1000 results using the GitHub Search API?
I understand that the GitHub Search API limits to 1000 results and 100 results per page. Therefore I wrote the following to view all 1000 results for a code search process that looks for a string torch-
import requests
for i in range(1,11):
url…

desert_ranger
- 1,096
- 3
- 13
- 26
1
vote
1 answer
How do I programmatically extract GitHub repositories that contain a code string?
I am looking for a way to extract GitHub repositories containing files with a certain code string. I can do manually using the GitHub search bar. For instance, if I'm looking for the usages of the library pymc3 I could look for it in the search bar…

desert_ranger
- 1,096
- 3
- 13
- 26
1
vote
0 answers
How to specify "issues count" when searching repositories in Github Search
When searching for repositories, I can use the "help-wanted-issues" and "good-first-issues" search qualifiers to narrow down the search results like so.
react in:topics,readme language:javascript help-wanted-issues:>0
But I want to specify issues…

Muhammad Ozair
- 11
- 2
1
vote
0 answers
Can you search for "reviewer or assignee" in GitHub
Is there a way to see what PRs are assigned OR review requested for my account? I can do one or the other with is:open is:pr archived:false assignee:my-account and is:open is:pr archived:false review-requested:my-account. Any way to merge those…

Primus202
- 648
- 7
- 24
1
vote
1 answer
Is there a way to search github issues with linked pull requests?
I want to know how to filter issues only with linked pull requests. I've been trying to use the linked-pull-request but it needs a PR number. But I want to filter all issues with pull request

KMM
- 11
- 1
0
votes
1 answer
I commented on someone else's GitHub Issue. How can I find it again?
Just the other day, on some random GitHub Issue,
I left a comment.
Now I want to find my comment,
but unlike Facebook's Activity Log,
since the Issue was not created by me,
nor do I own the repository, well...
the only way to find that activity of…

Dan Jacobson
- 490
- 3
- 14
0
votes
1 answer
Search for pull requests that are created 1 month ago and earlier
I am looking for a query, that will fulfil that:
is:pr is:open created:>=now-1m
or
is:pr is:open created:>={{manually entered DATE}}-1m
Can now and -1m be dynamic? (So there won't be needed manual input)
Is it even possible?

kadeikin
- 57
- 1
- 2
- 9