Closed im-sampm closed 8 months ago
When triggering a workflow_dispatch event, the event payload must contain the inputs key.
workflow_dispatch
inputs
However, this key is always overwritten as the code is currently written.
This change allows the simultaneous use of act.setInput() and passing an event payload containing an inputs key.
act.setInput()
Tested this locally and doesn't seem to break anything. Moreover since the change is quite small, I think just by looking at it, it shouldn't break anything. I will go ahead and merge it.
When triggering a
workflow_dispatch
event, the event payload must contain theinputs
key.However, this key is always overwritten as the code is currently written.
This change allows the simultaneous use of
act.setInput()
and passing an event payload containing aninputs
key.