[Core feature request] add missing properties to WorkflowCall trigger
What feature do you need?
WorkflowCall should have the properties inputs, outputs and secrets, see GitHub documentation
Do you have an example usage?
like WorkflowDispatch
WorkflowCall(
inputs = mapOf(
"foo" to WorkflowCall.Input(
"description",
required = true,
WorkflowDispatch.Type.String
)
),
secrets = mapOf(
"bar" to WorkflowCall.Secret(
"description",
required = true,
)
)
)
Is there a workaround for not having this feature? If yes, please describe it.
use _customArguments
Should inputs also be part of Contexts?
For each item from the GitHub contexts, I'm trying to figure out if it would be good to add specialized support for it, or just map it as is. E.g. for inputs, I'd like them to be defined on the workflow level in such way that allows accessing them from within the workflow in a type-safe way. Similarly with outputs, not sure what about secrets. If you have capacity, feel free to propose a change, then we can discuss!