Skip to content

Add checkout depth#161

Merged
petetomasik merged 6 commits into
feat/git-checkout-featuresfrom
SUP-6201-add-checkout-depth
May 22, 2026
Merged

Add checkout depth#161
petetomasik merged 6 commits into
feat/git-checkout-featuresfrom
SUP-6201-add-checkout-depth

Conversation

@JoeColeman95
Copy link
Copy Markdown

  • Adds depth integer property to the shared checkout definition
  • Adds rejection tests for depth: 0 and depth: "10" to match the rest of the codebase, even when bk/bk accepts integers as strings
  • Adds a depth: 10 step to the checkout.yml

Branched off of PR #160

Backend support is the open PR https://github.com/buildkite/buildkite/pull/29615.

* Adds `depth` integer property to the shared `checkout` definition
* Adds rejection tests for `depth: 0` and `depth: "10"` to match the rest of the codebase, even when bk/bk accepts integers as strings
* Adds a `depth: 10` step to the `checkout.yml`

Branched off of PR #160

Backend support is the open PR [buildkite/buildkite#29615](buildkite/buildkite#29615).
@petetomasik petetomasik changed the base branch from main to feat/git-checkout-features May 22, 2026 16:47
Combine the checkout.skip enhancements (stringified-boolean enum,
additionalProperties:false, expanded test coverage) with the new
checkout.depth property. Normalize depth description style and
fixture to match feat branch conventions.
@petetomasik petetomasik merged commit 2576646 into feat/git-checkout-features May 22, 2026
3 checks passed
@petetomasik petetomasik deleted the SUP-6201-add-checkout-depth branch May 22, 2026 18:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants