Update issue
- 最終更新日2026/05/06
The Update issue action updates the details of a specific issue in a GitHub repository.
Overview
The Update issue action updates the details of an existing issue in a GitHub repository using the issue number. You can update the issue state, title, description, labels, and assignees. The action requires an active GitHub session to authenticate the request.
Settings
The Update issue action contains the following settings:
Note: All the input fields support string variables. You can
create a string variable to hold the appropriate text string
and select it in the applicable setting and option.
- Session name
-
Specifies the GitHub session name that the Connect action creates. Use one of the following options to specify the session name:
- Session name: Enter the session name as text directly or select the string variable that holds the session name text.
- Variable: Select the GitHub session variable that the Connect action creates.
- Owner name
- Specifies the name of the GitHub repository owner. The owner can be an organization or a user account. You can either enter the name directly as text or select the applicable string variable.
- Repository name
- Specifies the name of the GitHub repository in which the action updates the issue. You can either enter the repository name directly as text or select the applicable string variable.
- Issue number
- Specifies the issue number to update. You can either enter the issue number directly as text or select the applicable string variable.
- State
- Specifies the state to assign to the issue. Select one of the following options:
- Open: Select to set the issue state to open. This is the default selection.
- Closed: Select to set the issue state to closed.
- Title (optional)
- Specifies the updated title of the issue. You can either enter the title directly as text or select the applicable string variable.
- Description (optional)
- Specifies the updated description of the issue. You can either enter the description directly as text or select the applicable string variable.
- Labels (optional)
- Specifies the updated labels for the issue. You can either enter the labels directly as text or select the applicable string variable. You can specify multiple labels using comma-separated values.
- Assignees (optional)
- Specifies the updated assignees for the issue. You can either enter the assignee usernames directly as text or select the applicable string variable. You can specify multiple assignees using comma-separated values.
- Assign output to the variable
- Specifies the boolean variable in which the action stores the status of the update.
The action returns the status
truefor successful update andfalseif the update fails.