-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathaction.yml
More file actions
36 lines (36 loc) · 1.06 KB
/
action.yml
File metadata and controls
36 lines (36 loc) · 1.06 KB
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
name: "Pull Request Body Updater GitHub Action"
description: "GitHub Action that updates a pull request body"
author: "Devin Ford"
runs:
using: "node16"
main: "dist/index.js"
inputs:
repo-token:
description: "The GITHUB_TOKEN secret"
required: true
body-template:
description: "Body template where the content gets added to the PR body"
required: false
default: ""
body-update-action:
description: "Update action to perform on the body. Allowed values: prefix | suffix"
required: false
default: "suffix"
body-newline-count:
description: "Number of newlines to separate body and its prefix or suffix"
required: false
default: "2"
body-uppercase-base-match:
description: "Should uppercase matched text from base branch in body"
required: false
default: "true"
body-uppercase-head-match:
description: "Should uppercase matched text from head branch in body"
required: false
default: "true"
outputs:
bodyUpdated:
description: "Whether the PR body was updated"
branding:
icon: "edit"
color: "purple"