-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathaction.yml
37 lines (34 loc) · 971 Bytes
/
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
name: Update PR Description
author: nefrob
description: Add or update content in GitHub PR description.
inputs:
content:
description: Content to append or replace in the PR body.
required: true
contentIsFilePath:
description: Whether the content is a file path.
required: false
contentRegex:
description: Regex string to match the content.
required: false
contentRegexFlags:
description: Content match regex flags to use.
required: false
regex:
description: Regex string to match and replace the description.
required: false
regexFlags:
description: Description match regex flags to use.
required: false
appendContentOnMatchOnly:
description: Whether to skip appending the content to the PR body if no regex matches are found.
default: "false"
token:
description: GitHub access token.
required: true
runs:
using: node20
main: dist/index.js
branding:
icon: align-left
color: white