A team needs a reusable deployment workflow with a required string input named environment_name. Which declaration and call correctly establish a typed interface?

Published
  1. Declare only workflow_dispatch inputs and call the file with a run step.
  2. Define the value only as an env variable in the caller and expect automatic inheritance.
  3. Define a required string on workflow_call.inputs; pass its value with the caller job with mapping.
  4. Use secrets: environment_name for a nonsecret string input and omit workflow_call.

Comments — 0