{
  "slug": "bk-build-create-accepts-pull-request-details-3ac084391809",
  "title": "bk build create accepts pull request details",
  "tools": [
    "bk"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-10-29T05:39:14.000Z",
  "announced_at": "2026-10-29T05:39:14.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When creating a Buildkite build for a pull request, pass its number, base branch, and source repository to `bk build create`.",
    "examples": [
      "bk build create --pipeline <pipeline> --pull-request-id <number> --pull-request-base-branch <base-branch> --pull-request-repository <repository-url> --yes"
    ],
    "gotchas": [
      "Version: v3.67.0",
      "Non-interactive: Build creation prompts for confirmation; `--yes` skips it. The build URL is printed to stdout.",
      "--pull-request-id: Pull request number.",
      "--pull-request-base-branch: Pull request base branch.",
      "--pull-request-repository: Repository URL for the pull request source branch.",
      "--pipeline: Pipeline slug or org/pipeline; needed if the pipeline cannot be inferred.",
      "--yes: Skip the confirmation prompt.",
      "Prerequisite: Install and authenticate the Buildkite CLI with your organization."
    ]
  },
  "why_it_matters": "Create a Buildkite build associated with a pull request.",
  "sources": [
    "https://github.com/buildkite/cli/releases/tag/v3.67.0",
    "https://github.com/buildkite/cli/pull/1074",
    "https://raw.githubusercontent.com/buildkite/cli/v3.67.0/cmd/build/create.go",
    "https://buildkite.com/docs/pipelines/starting-a-new-build"
  ],
  "rank": 0.95037,
  "review_state": "approved",
  "provenance": {
    "run_id": "daily-20261029-12",
    "verdict_id": "daily-20261029-12:daily-20261029-12-43371926afe5ec79-8:gate",
    "evidence_hash": "19fa2f053c99f70ec44d67b5c91dbd5bd38c9adb36cfe0c34d1c0cf3bade45a7"
  }
}
