actions-marketplace-validations/replace-env

Replace environment variables in files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stalelast commit Sep 26, 2023
License
MIT
Runtime
Deprecated runtime

Pinned Snippet

workflow.ymlSHA-pinned
uses: actions-marketplace-validations/nightstory_replace-env@5faa00b0a83ae7a28011126242d10fe23f247b46 # no releases — HEAD as of 2026-07-12

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
input_filePath to file with the placeholders to replace. If directory, will replace all files in the directory.yes
output_filePath to output file. If `input_file` is directory, will be a directory too. Optional, defaults to `input_file`no""
fail_on_missing_envWhether to fail if an env var mentioned in the input file does not existnofalse
patternPattern to replace the variables: single_dollar_brackets, double_dollar_brackets, double_underscorenosingle_dollar_brackets

no outputs