alexander-trishin/Replace tokens in text files

Replaces tokens in text files using variables defined in YAML or JSON format

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
targetA multiline list of files to replace tokens in. Each line supports glob pattern (uses '@actions/glob'). yes
encodingThe encoding to read and write all files. Accepted values: - auto: detect encoding using chardet - ascii - utf-8 - utf-16le Supported values: auto, ascii, utf-8, utf-16le. auto
follow-symbolic-linksIndicates whether to follow symbolic links while searching for target file(s).true
token-prefixThe token prefix for using custom token pattern.${{ '${{' }}
token-suffixThe token suffix for using custom token pattern.}}
variablesA YAML formatted multiline string containing variable values (keys are case-insensitive). May override values from `variables-json` and `variables-secret-json` if keys match. ""
variables-jsonA JSON formatted multiline string containing additional variable values (keys are case-insensitive). Values may be overwritten by `variables-secret-json` and `variables' if keys match. ""
variables-secret-jsonA JSON formatted multiline string containing additional variable values (keys are case-insensitive, all values are masked). Values may be overwritten by `variables' if keys match. ""

no outputs