-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
47 lines (47 loc) · 1.48 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: 'comment-actions'
description: 'GitHub Action to create, update, or add a reaction to any issue or pull request - with template support!'
author: "Grant Birkinbine"
inputs:
token:
description: 'GITHUB_TOKEN or a repo scoped PAT'
default: ${{ github.token }}
required: true
repository:
description: 'The full name of the repository in which to create or update a comment'
default: ${{ github.repository }}
required: true
issue-number:
description: 'The number of the issue or pull request in which to create a comment'
required: true
default: ${{ github.event.number }}
comment-id:
description: 'The id of the comment to update'
required: false
body:
description: 'The comment body'
required: false
file:
description: 'The path to a file containing template variables in yaml format for rendering'
required: false
vars:
description: 'Template variables in yaml format for rendering with a provided file'
required: false
edit-mode:
description: 'The mode when updating a comment, "replace" or "append"'
default: append
required: false
reaction-type:
description: 'Deprecated in favour of `reactions`'
required: false
reactions:
description: 'A comma separated list of reactions to add to the comment'
required: false
outputs:
comment-id:
description: 'The ID of the created comment'
runs:
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'message-square'
color: 'gray-dark'