Microsoft
GH-200 · Question #69
You are a DevOps engineer working on deployment workflows. You need to execute the deploy job only if the current branch name is feature-branch. Which code snippet will help you to implement the condi
Sign in or unlock GH-200 to reveal the answer and full explanation for question #69. The question stem and answer options stay visible for context.
Author and Maintain Workflows
Question
You are a DevOps engineer working on deployment workflows. You need to execute the deploy job only if the current branch name is feature-branch. Which code snippet will help you to implement the conditional execution of the job?
Options
- Ajobs:
- Bjobs:
- Cjobs:
- Djobs:
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#Conditional execution#Workflow jobs#Branch conditions