trend-dev/Inplace Environment Substitution
Replaces files containing environment variables placeholders '${PLACEHOLDER}' in place
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| working-directory | Current working directory where the recursive search takes place | no | / |
| fail_on_missing_variables | If the step should exit with a status code 1 if an environment variable defined as a placeholder is not found in the current running environment | no | false |
| replace_in_paralel | Replaces the files in parallel. Useful for large files | no | false |
| whitelist | Json array representing the env variables to be whitelisted. Only the whitelisted variables will be replaced, the rest will be ignored | no | — |
| blacklist | Json array representing the env variables to be blacklisted. Blacklisted variables will be ignored | no | — |
| search_input | Json 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 recursively | no | — |
Outputs
no outputs