bk pipeline create can opt in to webhook creation
Introduced 2026-02-18 · score 0.98
HOW TO USE IT
When creating a Buildkite pipeline for a GitHub or GitHub Enterprise repository, add `--create-webhook` (or `-W`) to opt in to creating its SCM webhook.
bk pipeline create "<pipeline-name>" --description "<description>" --repository "<github-repository-url>" --create-webhookWHY THIS HELPS
Create a Buildkite pipeline from the CLI and have it create webhooks for the pipeline's GitHub repository.
REQUIREMENTS AND LIMITATIONS
- Version: v3.25.0
- <name> (required): Pipeline name.
- --repository, -r: Repository URL; provide the GitHub repository URL for this task.
- --description, -d: Pipeline description.
- --create-webhook, -W: Create an SCM webhook for the pipeline; documented for GitHub and GitHub Enterprise only. Opt-in flag.
- Prerequisite: Install the Buildkite CLI and authenticate it with an API access token to use Buildkite organizations.
- Prerequisite: The webhook flag supports GitHub and GitHub Enterprise only.
- Webhook creation is opt-in.
FIRST-PARTY EVIDENCE
- https://github.com/buildkite/cli/releases/tag/v3.25.0
- https://github.com/buildkite/cli/pull/647
- https://buildkite.com/docs/platform/cli/reference/pipeline
- https://buildkite.com/docs/platform/cli
Check the installed version and the source before using it. Entry JSON