#2427 Add opt-in setting to skip draft PR builds
AL-Go now offers an opt-in setting to skip draft pull request builds, reducing unnecessary compute consumption before changes are ready for review. The feature adds draft guards to built-in jobs and enables the ready_for_review trigger while keeping custom jobs untouched.
- 8files
- 3AL files
- 0objects
Pull request · merged into main on 2026-11-06 by aholstrup1 · 8 files (+152 -4), 3 AL · feature · tier official · reviewed (checked by Opus)
What changed
- New skipDraftPullRequests setting (default false) allows repositories to opt out of building draft PRs
- When enabled, draft guards are applied to AL-Go built-in jobs and ready_for_review trigger is added to PR build workflows
- Supports both pull_request and pull_request_target triggers while leaving merge-queue builds unchanged
- Custom jobs remain unmodified, allowing repository owners to manage their own draft conditions
- Feature applies after dependency build generation and before custom jobs are appended
AL objects touched
Actions/.Modules/ReadSettings.psm1: modified, not in the BC? snapshotActions/.Modules/settings.schema.json: modified, not in the BC? snapshotActions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1: modified, not in the BC? snapshot
Context
- Systems: platform
- From the description: “Adds
skipDraftPullRequests(defaultfalse) so repositories can opt out without changing existing behavior.”
Source: metadata of a merged pull request in microsoft/AL-Go (al-go): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).