-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
51 lines (41 loc) · 1.29 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
48
49
50
51
---
name: Issue Form Body Parser
description: Parses the body of an issue that was built using an Issue form definition
author: peter-murray
branding:
icon: alert-circle
color: blue
inputs:
github_token:
description: The GitHub token that can be used to obtain the Issue via API lookup
default: ${{ github.token }}
required: true
repository:
description: The repository that holds the issue, in the form of 'owner/repo'
default: ${{ github.repository }}
required: true
issue_id:
description: The id of the issue to use to extract a payload from the body
required: true
separator:
description: The separator for the form sections in the issue
required: true
default: '###'
label_marker_start:
description: The string that is used to identify the start of the form label field
required: true
default: ">>"
label_marker_end:
description: The string that is used to identify the end of the form label field
required: true
default: "<<"
generate_summary:
description: If true, will generate a summary of the form data in the payload
required: false
default: false
outputs:
payload:
description: The extracted payload data from the issue body labels in JSON encoded form
runs:
using: node20
main: dist/index.js