Skip to content

Commit 55678ca

Browse files
committed
update action.yml
1 parent db217e4 commit 55678ca

File tree

1 file changed

+21
-3
lines changed

1 file changed

+21
-3
lines changed

action.yml

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,31 @@ inputs:
99
default: ${{ github.repository }}
1010
sha:
1111
description: 'The commit SHA.'
12-
body:
13-
description: 'The contents of the comment.'
14-
required: true
1512
path:
1613
description: 'Relative path of the file to comment on.'
1714
position:
1815
description: 'Line index in the diff to comment on.'
16+
comment-id:
17+
description: 'The id of the comment to update.'
18+
body:
19+
description: 'The contents of the comment.'
20+
required: true
21+
body-path:
22+
description: 'The path to a file containing the comment body. Cannot be used in conjunction with `body`.'
23+
edit-mode:
24+
description: 'The mode when updating a comment, "replace" or "append".'
25+
default: 'append'
26+
append-separator:
27+
description: 'The separator to use when appending to an existing comment. (`newline`, `space`, `none`)'
28+
default: 'newline'
29+
reactions:
30+
description: 'A comma or newline separated list of reactions to add to the comment.'
31+
reactions-edit-mode:
32+
description: 'The mode when updating comment reactions, "replace" or "append".'
33+
default: 'append'
34+
outputs:
35+
comment-id:
36+
description: 'The id of the created commit comment'
1937
runs:
2038
using: 'node16'
2139
main: 'dist/index.js'

0 commit comments

Comments
 (0)