trend-dev/Inplace Environment Substitution

Replaces files containing environment variables placeholders '${PLACEHOLDER}' in place

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
working-directoryCurrent working directory where the recursive search takes placeno/
fail_on_missing_variablesIf the step should exit with a status code 1 if an environment variable defined as a placeholder is not found in the current running environmentnofalse
replace_in_paralelReplaces the files in parallel. Useful for large filesnofalse
whitelistJson array representing the env variables to be whitelisted. Only the whitelisted variables will be replaced, the rest will be ignoredno
blacklistJson array representing the env variables to be blacklisted. Blacklisted variables will be ignoredno
search_inputJson object input for searching files to be replaced. Contains the following keys: patterns (array strings of regex to match files), files (array of strings to match file names), depth: the search depth to search recursivelyno

no outputs