zeechen/Replace token in file(s) nested
Token values can be read from token value file(s) or environment variables. Token value can reference another token(s)
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| tokenPrefix | — | — | #{ |
| tokenSuffix | — | — | }# |
| files | files to be replaced, string array, file name can use regex | — | [] |
| tokenValueFiles | token value files - optional if not specified, token values will be read from environment variables | — | [] |
| environment | optional load token from environment variables | — | "" |
| repo-token | optional GitHub token, if environment is supplied, this token will be used to access variables | — | "" |
Outputs
| name | description |
|---|---|
| changedFiles | details of files being changed |