Skip to content

Commit 09e8901

Browse files
authored
Merge pull request #55 from knowledge-work/fix/define-output
fix: define output explicitly
2 parents de3d299 + c7c3798 commit 09e8901

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,14 @@ Supports null in JSON format.
176176

177177
<!-- gha-outputs-start -->
178178

179-
| ID | Description |
180-
| :----------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
181-
| `continue` | Indicates whether the IssueOps command was triggered and the workflow should continue with the string `"true"`. If the action did not complete successfully, `"false"` will be used. |
182-
| `params` | The parameters of the triggered IssueOps command, provided as a JSON string. |
183-
| `comment_id` | The ID of the comment that triggered this action. |
184-
| `actor` | The GitHub handle of the actor who executed the IssueOps command. |
179+
| ID | Description |
180+
| :------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
181+
| `continue` | Indicates whether the IssueOps command was triggered and the workflow should continue with the string `"true"`. If the action did not complete successfully, `"false"` will be used. |
182+
| `params` | The parameters of the triggered IssueOps command, provided as a JSON string. |
183+
| `comment_id` | The ID of the comment that triggered this action. |
184+
| `actor` | The GitHub handle of the actor who executed the IssueOps command. |
185+
| `issue_number` | The issue number of the comment that triggered this action. |
186+
| `command` | The command of the triggered IssueOps command. |
185187

186188
<!-- gha-outputs-end -->
187189

action.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ outputs:
2222
description: 'The ID of the comment that triggered this action.'
2323
actor:
2424
description: 'The GitHub handle of the actor who executed the IssueOps command.'
25+
issue_number:
26+
description: 'The issue number of the comment that triggered this action.'
27+
command:
28+
description: 'The command of the triggered IssueOps command.'
2529

2630
runs:
2731
using: 'node20'

0 commit comments

Comments
 (0)