---
id: change/al-go/2427
type: change
title: "#2427 Add opt-in setting to skip draft PR builds"
summary: 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.
tier: official
language: en
tags:
  - feature
  - main
system: platform
review:
  state: reviewed
  by: opus
  at: "2026-11-08T00:59:03.780Z"
  flags: []
generated:
  at: "2026-11-08T00:19:04.246Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 3ad2a6788db48be34455e3070cd404fba92716f8
evidence:
  - kind: code
    url: https://github.com/microsoft/AL-Go/pull/2427
    title: "microsoft/AL-Go#2427: Add opt-in setting to skip draft PR builds"
    date: "2026-11-06"
    commit: 3ad2a6788db48be34455e3070cd404fba92716f8
    t: null
    quote: Adds `skipDraftPullRequests` (default `false`) so repositories can opt out without changing existing behavior.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 2427
repo: microsoft/AL-Go
source_id: al-go-prs
url: https://github.com/microsoft/AL-Go/pull/2427
kind: pr
base_branch: main
major: null
merged_at: "2026-11-06T08:03:11Z"
author: aholstrup1
author_type: User
community_contribution: false
labels: []
change_class: code
change_kind: feature
behavior_change: false
breaking: false
files:
  count: 8
  additions: 152
  deletions: 4
  al: 3
apps: []
objects_touched: []
objects_unjoined:
  - path: Actions/.Modules/ReadSettings.psm1
    status: modified
    reason: not-in-snapshot
  - path: Actions/.Modules/settings.schema.json
    status: modified
    reason: not-in-snapshot
  - path: Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items: []
systems:
  - platform
quote: Adds `skipDraftPullRequests` (default `false`) so repositories can opt out without changing existing behavior.
joined_against:
  major: null
  commit: null
---

# #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.

[Pull request](https://github.com/microsoft/AL-Go/pull/2427) · 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? snapshot
- `Actions/.Modules/settings.schema.json`: modified, not in the BC? snapshot
- `Actions/CheckForUpdates/CheckForUpdates.HelperFunctions.ps1`: modified, not in the BC? snapshot

## Context

- Systems: platform
- From the description: "Adds `skipDraftPullRequests` (default `false`) 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).
