Microsoft
GH-200 · Question #2
As a developer, you need to add the correct syntax to allow the following workflow file to be triggered by multiple types of events. Which two code blocks should you add starting at line 5? (Each corr
Sign in or unlock GH-200 to reveal the answer and full explanation for question #2. The question stem and answer options stay visible for context.
Author and Maintain Workflows
Question
As a developer, you need to add the correct syntax to allow the following workflow file to be triggered by multiple types of events. Which two code blocks should you add starting at line 5? (Each correct answer presents a complete solution. Choose two.)
Exhibit
Options
- Aon: [push, pull_request]
- Bon:
- Con:
- Don: [push, commit]
- Eon:
- Fon:
Unlock GH-200 to see the answer
You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.
Topics
#GitHub Actions#Workflow Triggers#YAML Syntax#Event Types
