GITHUB-ACTIONS · Question #46
As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image? A. B. C. D.
The correct answer is C. on: workflow_dispatch: inputs: test_suite: description: Test suite type: choice value: functional options: - regression. The first image shows a workflow trigger with an option for the test suite, and the chosen YAML configuration matches this interface. Specifically, the test suite input is defined with type: choice and includes the option value: functional, which aligns with the visible UI elemen
Question
As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image? A. B. C. D.
Exhibits
Options
- Aon: workflow_dispatch: inputs: test_suite: description: Test suite type: choice options: - functional - regression
- Bon: workflow_run: inputs: test_suite: description: Test suite type: string options: - functional - regression
- Con: workflow_dispatch: inputs: test_suite: description: Test suite type: choice value: functional options: - regression
- Don: workflow_run: inputs: test_suite: description: Test suite type: choice options: - functional - regression
How the community answered
(28 responses)- A4% (1)
- C93% (26)
- D4% (1)
Explanation
The first image shows a workflow trigger with an option for the test suite, and the chosen YAML configuration matches this interface. Specifically, the test suite input is defined with type: choice and includes the option value: functional, which aligns with the visible UI elements in the first
Topics
Community Discussion
No community discussion yet for this question.




