-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
38 lines (34 loc) · 1.48 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
name: "folder_mapping"
description: "Incorporate or update the folder mapping information in the README.md file."
author: "RomanFama592"
branding:
icon: "folder-minus"
color: "yellow"
inputs:
path-directory:
description: "The path to the directory where the folder mapping will be performed. This input is optional, and the default value is set to './' (the root directory)."
default: "./"
required: false
template-output:
description: "The path to the template file for generating the README.md. This input is optional, and the default value is set to './README.md.template'."
default: "./README.md.template"
required: false
path-output:
description: "The path where the generated README.md file will be saved. This input is optional, and the default value is set to './README.md'."
default: "./README.md"
required: false
search-word:
description: "This input is used to specify a keyword or search term within the template file (template-output). The workflow will search for this keyword within the template file and insert the folder map at the location where this keyword is found. This input is optional, and the default value is set to 'map_folder'."
default: "map_folder"
required: false
runs:
using: "docker"
image: docker://romanfama598/folder_map_action:v1.1
args:
- -sw
- "${{inputs.search-word}}"
- "${{inputs.path-directory}}"
- -to
- "${{inputs.template-output}}"
- -po
- "${{inputs.path-output}}"