Lists issues in a GitHub repository with optional filtering by state, labels, assignee, and milestone.
For authentication setup, see GitHub issue actions.
The following inputs are available for this action.
Input Field | Optionality | Type | Description | Example |
|---|---|---|---|---|
token | Required | String | GitHub Personal Access Token (fine-grained or classic) stored as a secret. Fine-grained PATs require Issues: Read and write permission. Classic PATs require repo scope. |
|
owner | Required | String | The account owner of the repository (user or organization login). Case-insensitive. |
|
repo | Required | String | Repository name without the .git suffix. Case-insensitive. |
|
milestone | Optional | String | Filter by milestone. Pass a milestone number to filter by that milestone, |
|
state | Optional | String | Filter by issue state. Default: |
|
assignee | Optional | String | Filter by assignee username, |
|
type | Optional | String | Filter by issue type name, |
|
creator | Optional | String | Filter by the user that created the issue. |
|
mentioned | Optional | String | Filter by a user mentioned in the issue. |
|
labels | Optional | String | Comma-separated list of label names to filter by. |
|
sort | Optional | String | Sort results by field. Default: |
|
direction | Optional | String | Sort direction. Default: |
|
since | Optional | String | Filter to issues last updated after this time. Must be an ISO 8601 timestamp: |
|
perPage | Optional | Int | Number of results per page (maximum 100). Default: |
|
page | Optional | Int | Page number of the results to fetch. Default: |
|
issueFieldValues | Optional | List | Issue field values for GitHub Projects v2 custom fields. Each object must include |
|
selectors | Optional | List | JQ selectors to extract values from the response. |
|
This action returns the following outputs.
Output Field | Type | Example |
|---|---|---|
response | Array | |
success | Boolean |
|
errorMessage | String | Contains the GitHub API error response body. |
Workflow example |
|---|
|