-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
33 lines (33 loc) · 1.02 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
name: replace-comment-html
description: This action upserts HTML in GitHub issue or pull request comments using CSS selectors
author: Hunter Tunnicliff
runs:
using: node20
main: dist/index.js
inputs:
token:
description: GitHub token
default: ${{ github.token }}
repository:
description: The repository to operate on
default: ${{ github.repository }}
issue-number:
description: The issue or pull request to operate on
default: ${{ github.event.number || github.event.issue.number }}
mode:
description: "Which strategy to use for modifying comments: upsert (default), create-only"
default: upsert
html:
description: HTML to create or update
required: true
selector:
description: A CSS selector for identifying the element to update
required: true
parent-selector:
description: A CSS selector for identfying a parent to append the element to
outputs:
comment-id:
description: The ID of the comment that was created or updated
branding:
icon: file-text
color: gray-dark