forked from jacobtomlinson/gha-find-replace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
27 lines (27 loc) · 921 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
name: "Find and Replace"
description: "Find and replace a string in your project files"
author: "Jacob Tomlinson"
inputs:
include:
description: "A glob of files to include in our find and replace"
default: "**" # Include everything by default
required: false
exclude:
description: "A glob of files to exclude in our find and replace"
default: ".git/**" # Ignore the `.git` directory by default
required: false
find:
description: "The regular expression (or fixed string) we want to replace"
required: true
replace:
description: "The new string to replace with"
required: true
regex:
description: "Whether to match with.find as a regular expression instead of a fixed string"
required: false
outputs:
modifiedFiles:
description: "The number of files which have been modified"
runs:
using: "docker"
image: "docker://jacobtomlinson/gha-find-replace:2.0.0"