Workflow Dispatch Inputs Quiz

5 questions Pass: 70% +25 pts (50 with Pro)

Quiz covering Configure Workflow Triggers and Events

What you'll be asked

  1. Which keyword is used in a GitHub Actions workflow file to define inputs that can be provided when manually triggering a workflow?
  2. When defining an input for a workflow_dispatch trigger, which property is used to specify whether the user must provide a value before running the workflow?
  3. If you define an input named 'environment' in your workflow_dispatch trigger, how do you reference the value of this input within a workflow step?
  4. Which of the following is a valid data type that can be specified for a workflow_dispatch input?
  5. You have a workflow with a workflow_dispatch trigger containing an input named 'log_level' with a default value of 'info'. If a user triggers the workflow manually but leaves the 'log_level' field blank, what value will the workflow receive for that input?

Answers and explanations come after you submit.