Skip to content

Commit 84cb467

Browse files
docs(actions): add headings for workflow_call.inputs description, required and default (fixes #46304)
1 parent 17d6ee5 commit 84cb467

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

‎content/actions/reference/workflows-and-actions/workflow-syntax.md‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,18 @@ jobs:
227227

228228
For more information, see [AUTOTITLE](/actions/how-tos/reuse-automations/reuse-workflows).
229229

230+
## `on.workflow_call.inputs.<input_id>.description`
231+
232+
A string description of the input parameter.
233+
234+
## `on.workflow_call.inputs.<input_id>.required`
235+
236+
A boolean specifying whether the input must be supplied by the caller workflow.
237+
238+
## `on.workflow_call.inputs.<input_id>.default`
239+
240+
The default value of the input parameter if none is supplied by the caller workflow.
241+
230242
## `on.workflow_call.inputs.<input_id>.type`
231243

232244
Required if input is defined for the `on.workflow_call` keyword. The value of this parameter is a string specifying the data type of the input. This must be one of: `boolean`, `number`, or `string`.

0 commit comments

Comments
 (0)