Skip to content

Commit f46e049

Browse files
committed
🔨 Add api-url output to issues/create-comment
1 parent e3ce961 commit f46e049

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

issues/create-comment/action.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ outputs:
3333
description: "The ID of the created comment"
3434
comment-url:
3535
value: ${{ steps.create-comment.outputs.comment-url }}
36-
description: "A URL to the created comment"
36+
description: "A browser URL to the created comment"
37+
comment-api-url:
38+
value: ${{ steps.create-comment.outputs.comment-api-url }}
39+
description: "An API URL to the created comment"
3740

3841
runs:
3942
using: "composite"
@@ -53,3 +56,4 @@ runs:
5356
})
5457
core.setOutput('comment-id', comment.id)
5558
core.setOutput('comment-url', comment.html_url)
59+
core.setOutput('comment-api-url', comment.url)

0 commit comments

Comments
 (0)