🔥 3-day streak
Microsoft DevOps Engineer Expert105 / 138
Question 105 of 138
Your team uses a GitHub Actions workflow that deploys to a shared staging environment on every push to the main branch. During busy periods, multiple pushes trigger overlapping deployment runs, and occasionally two runs deploy to staging simultaneously, causing corrupted deployments. You must ensure that only one deployment runs at a time, and that when a newer push arrives while a deployment is queued or running, the older superseded run is stopped to save agent minutes. Which configuration should you add to the workflow?
Reviewed for accuracy · Report an issueNext question