actions-marketplace-validations/replace-env
Replace environment variables in files
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stalelast commit Sep 26, 2023
- License
- MIT
- Runtime
- Deprecated runtime
Pinned Snippet
uses: actions-marketplace-validations/nightstory_replace-env@5faa00b0a83ae7a28011126242d10fe23f247b46 # no releases — HEAD as of 2026-07-12tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| input_file | Path to file with the placeholders to replace. If directory, will replace all files in the directory. | yes | — |
| output_file | Path to output file. If `input_file` is directory, will be a directory too. Optional, defaults to `input_file` | no | "" |
| fail_on_missing_env | Whether to fail if an env var mentioned in the input file does not exist | no | false |
| pattern | Pattern to replace the variables: single_dollar_brackets, double_dollar_brackets, double_underscore | no | single_dollar_brackets |
Outputs
no outputs