somaz94/Ternary Operator Action

Generates outputs based on dynamic conditions, directly sets environment variables

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
conditionsComma-separated conditions to evaluate (max 10 conditions)yes
true_valuesComma-separated values if conditions are true (must match number of conditions)yes
false_valuesComma-separated values if conditions are false (must match number of conditions)yes
default_valuesComma-separated fallback values when condition evaluation fails (must match number of conditions)no""
case_sensitiveEnable case-sensitive comparison (true/false, default: true)notrue
debug_modeEnable detailed debug logging (true/false)nofalse
namedescription
resultJSON object containing all outputs (e.g. {"output_1": "value1", "output_2": "value2"})
output_1Output for the first condition
output_2Output for the second condition
output_3Output for the third condition
output_4Output for the fourth condition
output_5Output for the fifth condition
output_6Output for the sixth condition
output_7Output for the seventh condition
output_8Output for the eighth condition
output_9Output for the ninth condition
output_10Output for the tenth condition