In the advanced search page, when searching for code there is no way to exclude archived projects.
For example when looking within an organization's repositories for projects that use a specific Gem (package) version, in e.g. Gemfile or Gemfile.lock the search results include all the instance of that gem in archived projects as well making it cumbersome to identify the important ones.
Another alternative would be to display which projects are archived in the search results.
Here is an example from Github's organization:
This repository is archived:
It would be fantastic if we could filter out those results.
Solved! Solved! Go to Solution.
Thanks for this feedback! We're always working to improve GitHub and the GitHub Community Forum, and we consider every suggestion we receive. I've logged your feature request in our internal feature request list. Though I can't guarantee anything or share a timeline for this, I can tell you that it's been shared with the appropriate teams for consideration.