somaz94/Extract Commit Action

Extracts information from commit messages. Defaults output variable name to "ENVIRONMENT" if not specified.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
commit_limitNumber of commits to retrieve.yes
prettyWhether to use pretty format for git log.nofalse
key_variableThe name of the key variable to set, defaults to "ENVIRONMENT".noENVIRONMENT
extract_commandThe command to use for extracting information from commit messages.no
extract_patternRegex pattern to extract information from commit messages (safer alternative to extract_command). Cannot be used together with extract_command.no
commit_rangeGit commit range (e.g., "HEAD~5..HEAD", "v1.0.0..v1.1.0"). Takes priority over commit_limit when specified.no
fail_on_emptyWhether to fail the action if no environment information is extracted.nofalse
output_formatFormat of the output (json, csv, text). Defaults to text.notext
debugEnable debug mode for verbose output.nofalse
timeoutTimeout in seconds for git and extract commands.no30
namedescription
key_variableExtracted output key variable information.
value_variableExtracted output value variable information.
match_countNumber of extracted matches.