Skip to main content
2 of 4
essential parts of answer added

I think this link should help, for labels at least: https://docs.github.com/en/github/searching-for-information-on-github/searching-issues-and-pull-requests#search-by-label

For labels, you use:

label:"label name"