somaz94/Environment/Output Setter

Sets multiple key-value pairs in both $GITHUB_ENV and $GITHUB_OUTPUT

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
env_keyComma-separated list of environment variable keysyes
env_valueComma-separated list of environment variable valuesyes
output_keyComma-separated list of output keysyes
output_valueComma-separated list of output valuesyes
delimiterDelimiter for separating keys and values (default: comma)no,
fail_on_emptyFail if any key or value is emptynotrue
trim_whitespaceTrim whitespace from keys and valuesnotrue
case_sensitiveTreat keys as case sensitivenotrue
error_on_duplicateError if duplicate keys are foundnotrue
mask_secretsMask sensitive values in logsnofalse
mask_patternCustom pattern for identifying sensitive values (regex)no""
to_upperConvert values to uppercasenofalse
to_lowerConvert values to lowercasenofalse
encode_urlURL encode valuesnofalse
escape_newlinesEscape newlines in valuesnotrue
max_lengthMaximum allowed length for values (0 for unlimited)no0
allow_emptyAllow empty values even when fail_on_empty is truenofalse
debug_modeEnable debug loggingnofalse
group_prefixPrefix prepended (with an underscore separator) to every generated key name, including JSON-flattened sub-keys. Status keys (action_status/error_message) are not prefixed. Empty by default (no prefix).no""
json_supportEnable JSON parsing for complex valuesnofalse
export_as_envExport output variables as environment variables toonofalse
enable_interpolationEnable variable interpolation with ${VAR:-default} syntaxnofalse
file_encodingEncoding for file input values (raw, base64)noraw
validation_rulesJSON validation rules for output values (regex patterns, allowed values)no""
namedescription
set_env_countNumber of environment variables set
set_output_countNumber of outputs set
action_statusStatus of the operation (success/failure)
error_messageError message if any