-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
36 lines (32 loc) · 894 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
name: 'Tag Replacer'
description: 'Automatically replaces tags in files by provided parameters'
author: 'AlexRogalskiy'
inputs:
sourceData:
description: 'JSON data source with action parameters'
required: false
prefix:
description: 'String data to prepend before replacement'
required: false
suffix:
description: 'String data to append after replacement'
required: false
sourceFile:
description: 'Input source file to replace in'
required: true
placeholder:
description: 'String placeholder or regex to replace by'
required: true
replacement:
description: 'String data to replace with'
required: true
outputs:
changed:
description: 'File processing operation status'
runs:
using: 'node12'
main: 'dist/index.js'
# Ref: https://haya14busa.github.io/github-action-brandings/
branding:
icon: 'file-text'
color: 'yellow'