Summer Certification Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: force70

Microsoft GitHub Actions Exam GH-200 Question # 24 Topic 3 Discussion

Microsoft GitHub Actions Exam GH-200 Question # 24 Topic 3 Discussion

GH-200 Exam Topic 3 Question 24 Discussion:
Question #: 24
Topic #: 3

As a DevOps engineer, you need to execute a deployment to different environments like development and testing based on the labels added to a pull request. The deployment should use the releases branch and trigger only when there is a change in the files under apps folder. Which code block should be used to define the deployment workflow trigger?


A.

on:

pull_request_label:

branches:

- ' releases '

paths:

- ' apps/** '


B.

on:

pull_request_review:

types: [labeled]

branches:

- ' releases '

paths:

- ' apps/** '


C.

on:

pull_request:

types: [labeled]

branches:

- ' releases/** '

paths:

- ' apps '


D.

on:

pull_request:

types: [labeled]

branches:

- ' releases '

paths:

- ' apps/** '


Get Premium GH-200 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.