Creates a new issue in a GitHub repository.
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. |
|
title | Required | String | The title of the issue. |
|
body | Optional | String | Issue body in GitHub-flavored Markdown. Omitted from the request if empty. |
|
assignees | Optional | List | GitHub usernames to assign. Requires push access on the token. The GitHub API silently drops users without push access. |
|
labels | Optional | List | Labels to attach. Requires push access on the token. The API auto-creates unknown labels if you have permission. Otherwise, the API rejects them. |
|
milestone | Optional | Int | The milestone number (integer ID, not the title). Requires push access on the token. The milestone must already exist in the repository. |
|
type | Optional | String | The name of the issue type to associate with this issue (for example, Bug, Task, Feature). Requires push access. Issue types must be configured at the repository or organization level before use. |
|
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 | Object | |
success | Boolean |
|
errorMessage | String | Contains the GitHub API error response body. |
Workflow example |
|---|
|