Make it yours
Query language
The one-line syntax of view searches, category rules, and custom sections, with every word, where it works, and its values.
One syntax writes the searches of views, the rules of categories, and the rules of custom sections. The words mean the same thing in each place:
is:open review-requested:@me size:<50 updated:>@today-7d
Write a query as text, or build it one condition at a time. Both make the same query.
Three kinds of words
- GitHub and Hush words, such as
repo:,author:,label:,review:, andupdated:. In a view's search, GitHub runs them. In a category rule or a section, Hush checks them on what it knows about the item. - GitHub only words, such as
mentions:,involves:, andreviewed-by:. They work only in a view's search, because Hush does not have these facts. - Hush only words:
size:,from:,category:,about:,author:bots, and wildcards such asrepo:acme/*. GitHub does not know them, so Hush checks them.
The table in Words says where each word works.
In a view's search
Hush sends the GitHub words of a search to GitHub. Then it checks the Hush words on each result, and keeps the results that match:
repo:acme/web is:pr -author:bots size:<50
Here GitHub finds the pull requests in acme/web. Hush keeps the ones that people opened, with fewer than 50 changed lines.
- Hush checks the Hush words only on the 100 newest results of each search. Put the GitHub words that narrow the search the most first: a person, a team, a repository, or an organization.
- All the words of a search must match. For “this or that”, give the view more than one search.
- A search cannot use
OR, parentheses, orabout:. Forabout:, make a category whose rule uses it, then usecategory:in the search. - A GitHub and Hush word takes one value in a search:
author:alice, notauthor:alice,bob.label:is the exception: GitHub readslabel:bug,crashas either label. - Other words go to GitHub as you wrote them, so every GitHub search word works.
- A search that reads a project board goes to the board as you wrote it. It uses the board's filter words.
In a category rule
Hush checks the whole rule on what it knows about each pull request or issue:
repo:acme/* type:pr -author:bots (label:bug OR label:crash)
OR(in capitals) matches when either side matches.- Parentheses group conditions.
word:a,b(or the same word twice) matches any of the values:repo:acme/web,acme/api.- A rule cannot use GitHub only words, or
category:: a rule cannot depend on another category.
In a custom section
A section's rule works like a category rule, with OR and parentheses. It can also use category:, but not about: or the GitHub only words:
status:failure OR (review:changes_requested -author:@me)
Syntax
word:valueis a condition. All conditions must match.-in front of a condition means “not”:-label:wontfix. In a rule, also in front of a group:-(label:a OR label:b).@memeans you, wherever a login goes:author:@me,assignee:@me,review-requested:@me.*matches anything, and?one character:repo:acme/*,author:dependabot*. Only Hush reads wildcards.- Quote a value that has spaces or commas:
label:"good first issue". author:botsandfrom:botsmean any bot.-author:botsand-from:botsmean a person.author:alice,botsmeans Alice or any bot.- Free words: in a view's search, GitHub's text search. In a rule, every word must be in the title, the repository, or the author. They are not case-sensitive.
When a part has an error (an unknown word, a value that does not exist, a word that does not work in that place), Hush says so and does not save the query. While you type, suggestions show the words that work there, and their values; ↑ and ↓ move, Enter or Tab picks one, and Esc closes the list.
Dates and numbers
created:andupdated:take a date:updated:>2026-01-01,created:<=2026-01-31, or a range,updated:2026-01-01..2026-02-01.*leaves one end open:created:2026-01-01..*.@todayis today, and@today-7dor@today-2wis days or weeks before it:updated:<@today-14dis older than 14 days. Hush changes@todayto a date before it sends a search to GitHub.- Hush compares whole days, in UTC, like GitHub.
comments:andsize:take a number:comments:>10,size:<50,size:10..200,comments:0.
Words
| Word | Filters on | Works in |
|---|---|---|
repo: |
Repository; * matches anything: repo:acme/web |
Views (GitHub), rules, sections |
org: |
Owner of the repository: an org or a person: org:acme |
Views (GitHub), rules, sections |
author: |
Who opened it; author:bots for any bot: author:dependabot* |
Views (GitHub), rules, sections |
assignee: |
Who it is assigned to; @me for you: assignee:@me |
Views (GitHub), rules, sections |
label: |
Has this label: label:"good first issue" |
Views (GitHub), rules, sections |
review-requested: |
Whose review is requested: @me, a login, or org/team: review-requested:@me |
Views (GitHub), rules, sections |
type: |
What it is: type:pr |
Views (GitHub), rules, sections |
draft: |
A draft pull request, or not: draft:false |
Views (GitHub), rules, sections |
review: |
Review state of a pull request: review:approved |
Views (GitHub), rules, sections |
status: |
CI of a pull request: status:failure |
Views (GitHub), rules, sections |
comments: |
Number of comments: >10, 0, 5..20: comments:>10 |
Views (GitHub), rules, sections |
created: |
When it was opened: >2026-01-01, <@today-30d: created:>@today-7d |
Views (GitHub), rules, sections |
updated: |
When it last changed: <@today-14d, 2026-01-01..2026-02-01: updated:<@today-14d |
Views (GitHub), rules, sections |
no: |
Has no labels, or no assignee: no:assignee |
Views (GitHub), rules, sections |
from: |
Who did the latest activity (a comment or a review); from:bots for any bot: from:github-actions |
Views (Hush), rules, sections |
size: |
Lines changed in a pull request: <50, >500, 10..200: size:<50 |
Views (Hush), rules, sections |
category: |
Has this category, as group/category: category:effort/low |
Views (Hush), sections |
about: |
What it is about, in your own words (smart decisions): about:"database migrations" |
Rules |
mentions: |
Mentions this person: mentions:@me |
Views (GitHub) |
commenter: |
Has a comment by this person: commenter:octocat |
Views (GitHub) |
involves: |
Author, assignee, commenter, or mentioned: involves:@me |
Views (GitHub) |
reviewed-by: |
Reviewed by this person: reviewed-by:@me |
Views (GitHub) |
user-review-requested: |
Review requested from this person: user-review-requested:@me |
Views (GitHub) |
team-review-requested: |
Review requested from this team; @team for each of your teams: team-review-requested:@team |
Views (GitHub) |
team: |
Mentions this team: team:acme/web |
Views (GitHub) |
base: |
Base branch of a pull request: base:main |
Views (GitHub) |
head: |
Head branch of a pull request: head:fix-login |
Views (GitHub) |
milestone: |
In this milestone: milestone:"v2.0" |
Views (GitHub) |
project: |
In this project; with status:, reads the board: project:acme/5 |
Views (GitHub) |
archived: |
In an archived repository, or not: archived:false |
Views (GitHub) |
in: |
Where the free words must be: in:title |
Views (GitHub) |
linked: |
Linked to a pull request or an issue: linked:pr |
Views (GitHub) |
closed: |
When it was closed: closed:>@today-7d |
Views (GitHub) |
merged: |
When it was merged: merged:>@today-7d |
Views (GitHub) |
sort: |
Which 100 results GitHub sends first: sort:created-desc |
Views (GitHub) |
is: |
Pull request, issue, draft, open, closed, or merged: is:draft |
Views (GitHub), rules, sections |
| other words | In a view's search, GitHub's text search. In a rule or a section, words that must all be in the title, repository, or author | Views (GitHub), rules, sections |
Values
type:
What it is.
| Value | Means |
|---|---|
pr |
Pull request |
issue |
Issue |
draft:
A draft pull request, or not.
| Value | Means |
|---|---|
true |
Draft |
false |
Not a draft |
review:
Review state of a pull request.
| Value | Means |
|---|---|
none |
No review yet |
required |
Review required |
approved |
Approved |
changes_requested |
Changes requested |
status:
CI of a pull request.
| Value | Means |
|---|---|
success |
CI passed |
failure |
CI failed |
pending |
CI running |
no:
Has no labels, or no assignee.
| Value | Means |
|---|---|
label |
No labels |
assignee |
No assignee |
is:
| Value | Means |
|---|---|
is:pr |
A pull request |
is:issue |
An issue |
is:draft |
A draft pull request |
is:open |
Open |
is:closed |
Closed |
is:merged |
Merged |
author: and from:
author:is who opened the PR or issue.from:is who did the newest activity on it: the newest comment or review. New commits count as activity too, but GitHub does not say who pushed them, sofrom:does not match them.
For example, from:github-actions finds the items where the newest thing is a comment by GitHub Actions.
review: and status:
review:noneis a pull request with no review yet.review:required,review:approved, andreview:changes_requestedfollow the pull request's review decision. When the repository does not require reviews, Hush uses the newest approvals and change requests instead (see Whose turn it is).status:is the CI of a pull request:success,failure, orpending.- Issues never match these words.
about:
about: says in your own words what a PR or issue is about:
about:"database migrations or schema changes"
It needs smart decisions on. Jev, a decision model, reads the title, repository, author, labels, and start of the description, and decides whether the item is about what you wrote. It matches only when Jev is sure.
- Use it only in the rules of categories. Hush checks the condition when you save, and again when an item's text changes.
- Put exact words first where you can: in
repo:acme/api about:"migrations", Jev reads only the items of acme/api. - Up to 30 different
about:conditions in all your categories, each up to 200 characters.
category:
category: matches an item's category by its group and its name, with a / between them: category:effort/low. Many groups can have a category with the same name (Effort and Impact both have Low), so a name alone is an error. Put quotes around a name with spaces: category:"Review effort/Low". A * matches any group: category:*/low. Use it in a view's search or in a section's rule. There is no tag:: an item has one category from each group.
Examples
| Query | Finds |
|---|---|
repo:acme/* |
Everything in the acme org. |
type:pr -author:bots |
Pull requests that people opened. |
type:pr is:open author:alice |
Open PRs that Alice opened. |
review-requested:acme/web |
Items where the acme/web team's review is requested. |
assignee:@me repo:acme/web |
Items assigned to you in one repository. |
from:bots |
Items where a bot did the newest thing. |
label:"good first issue" is:open |
Open items with this label. |
label:area/* |
Items with a label that starts with area/. |
login timeout |
Items with both words in the title, the repository, or the author. |
label:bug OR label:crash |
Items with either label. |
repo:acme/* -author:@me |
Everything in the acme org that you did not open. |
about:"dependency bump" |
Dependency updates, whoever opened them (smart decisions). |
type:pr size:<50 |
Small pull requests. |
review:approved status:success |
Approved pull requests whose CI passed. |
updated:<@today-14d |
Items with no change for 14 days. |
no:assignee is:issue |
Issues that nobody is assigned to. |
Searches for views:
| Search | Finds |
|---|---|
is:open review-requested:@me size:<50 |
Small pull requests that wait for your review. |
is:open involves:@me category:effort/low |
Open items that involve you, with Low effort. |
repo:acme/web is:pr -author:bots status:failure |
Pull requests by people in acme/web whose CI failed. |
org:acme is:issue no:assignee created:>@today-7d |
New issues in the acme org that nobody is assigned to. |
In settings.json
Views store their searches as text, in searches. Categories store their rule as text: the rule of a category. Hush checks both when you save: a query with a part that it does not understand is refused, with the error.
{
"categoryGroups": [
{
"id": "org",
"name": "Org",
"categories": [
{
"id": "acme-prs",
"name": "Acme PRs",
"color": "blue",
"rule": "repo:acme/* type:pr -author:bots",
"description": ""
}
]
}
]
}