adrianjost/File Inject

A GitHub Action to inject text into an exisiting file at a given position.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
Runtime
Deprecated runtime
namedescriptionrequireddefault
filepathfilepath to the file to injet into, relative to the project rootyes
contentthe content that should get injected. Can also be provided by the env 'CONTENT'""
alignmentshould the new text be added before or after the position-regex match? Allowed values: 'before', 'after'.after
position-regexpRegExp String where the new content should be added. Defaults to the end of the file.$
regexp-flagsRegExp flags to use.""
namedescription
contentThe new file content