-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
29 lines (26 loc) · 895 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
name: 'Body Tag Extractor'
author: 'TheBurchBlog'
description: 'The goal is to utilize tags like `fixes:` and expose the values through environment variables.'
branding:
icon: 'search'
color: 'blue'
inputs:
tag:
description: 'The tag placed inside the Body of the Issue or Pull Request before the value is defined'
required: false
default: 'body-tag:'
env-variable:
description: 'The environment variable to map the tag value to'
required: false
default: 'body-tag'
default-value:
description: 'If the tag is not found, the default value to be provided'
required: false
default: null
tag-position:
description: 'If multiple tags are found, which tag position should be returned (-1 = last). If tag position is higher than found, the default value is provided'
required: false
default: -1
runs:
using: 'node12'
main: 'index.js'