Search Issues
github.search_issues
ActionBusiness appsconnection required
Calls the GitHub API GET /search/issues.
Search issues and pull requests across repositories with a query.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Bearer token
- Providers
- GitHub
- Secret shape
- the GitHub personal access token
- Resolved by
- config.connection_id, else node.connection_id, else the tenant's sole GitHub connection
Configuration
4 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
q GitHub search query, including any qualifiers such as repo: or language:. | string | Yes | — | — | repo:octocat/hello-world is:issue is:open |
sort Sort by activity instead of best match. | string | No | — | one of "created", "updated", "comments", "interactions" | — |
order Sort direction. | string | No | — | one of "asc", "desc" | — |
max_items Stop after this many rows; further pages are followed via the Link header. | number | No | 100 | 1–1000 | — |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"max_items": 100,
"q": "repo:octocat/hello-world is:issue is:open"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
items The matching issues and pull requests. | array | — |
items[].number Issue or pull request number. | number | — |
items[].title Its title. | string | — |
items[].state open or closed. | string | — |
items[].html_url Link to it. | string | — |
items[].repository_url API URL of the repository it is in. | string | — |
items[].user_login Who opened it. | string | — |
count How many rows this step returned. | number | — |
total_count How many matches GitHub found, beyond this page. | number | — |
incomplete_results True when GitHub timed out and the results are partial. | boolean | — |
{
"count": 0,
"incomplete_results": false,
"items": [
{
"html_url": "",
"number": 0,
"repository_url": "",
"state": "",
"title": "",
"user_login": ""
}
],
"total_count": 0
}Notes
- This endpoint matches both issues and pull requests; add is:issue or is:pr to the query to separate them.
- GitHub returns at most 1000 results for any search, however high max_items is.
Solutions with GitHub
See Search Issues run in a workflow.
In a technical demo we add the GitHub connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.