olivr/Inject file action
Inject the content of a remote file into a file of your repo
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
- Runtime
- Deprecated runtime
Inputs
| name | description | required | default |
|---|---|---|---|
| url | URL of the remote file | yes | — |
| target | Relative path to the local file you want to modify | yes | — |
| pattern | Pattern to identify where and what to replace in the target file | — | "" |
| force | Append at the bottom of the target file if the pattern is not found | — | true |
Outputs
| name | description |
|---|---|
| pattern | Pattern used for the replacement (useful to debug) |
| file_changed | Relative path of the file that has changed |