lfreleng-actions/Extract string from file using GREP

Uses grep and a regular expression to extract text from files

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 8, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: lfreleng-actions/file-grep-regex-action@d35a2dedbdd69fcd6a76bc5898542eb508125970 # v0.1.5

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

namedescriptionrequireddefault
regexRegular expression used to extract stringyes
filenameFile containing text to extractyes
flagsFlags to use with grep commandno-E
no_failOverride errors if file not found or no value returnednofalse
namedescription
extracted_stringThe string extracted by the regular expression