Microsoft AZ-400 Question Answer
You have a GitHub Actions workflow named workflow1 that is used to deploy an app name Appl. You need to ensure that App1 is deployed only when the following conditions are met:
• A pull request is merged to the main branch.
• The change includes a JavaScript file.
Solution. You configure the YAML file of workflow1 to include the following.

Does this meet the goal?
Microsoft AZ-400 Summary
- Vendor: Microsoft
- Product: AZ-400
- Update on: Jul 29, 2026
- Questions: 628

