nx icon indicating copy to clipboard operation
nx copied to clipboard

fix(misc): use string type for fetchDepth in azure-pipelines.yml

Open fALKENdk opened this issue 2 weeks ago โ€ข 3 comments

The Azure Pipelines schema requires fetchDepth to be a string, but the generator was outputting a number. This fix changes the value to a string to match the official schema specification.

Current Behavior

The generator creates azure-pipelines.yml with fetchDepth: 0 (number), which causes YAML schema validation error because the Azure Pipelines schema expects fetchDepth to be a string.

According to the Azure Pipelines schema, fetchDepth is defined as:

"fetchDepth": {
    "description": "Depth of Git graph to fetch",
    "$ref": "#/definitions/string"
}

Expected Behavior

The generator should output fetchDepth: '0' (string) to match the schema specification and prevent validation errors.

fALKENdk avatar Dec 06 '25 00:12 fALKENdk

Deploy request for nx-docs pending review.

Visit the deploys page to approve it

Name Link
Latest commit cd7b6760a44c51bea242f135ee8f15fc330a134f

netlify[bot] avatar Dec 06 '25 00:12 netlify[bot]

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
nx-dev Ready Ready Preview Dec 15, 2025 9:57pm

vercel[bot] avatar Dec 06 '25 00:12 vercel[bot]

View your CI Pipeline Execution โ†— for commit cd7b6760a44c51bea242f135ee8f15fc330a134f

Command Status Duration Result
nx affected --targets=lint,test,test-kt,build,e... โœ… Succeeded 17m 16s View โ†—
nx run-many -t check-imports check-lock-files c... โœ… Succeeded 2m 31s View โ†—
nx-cloud record -- nx-cloud conformance:check โœ… Succeeded 11s View โ†—
nx-cloud record -- nx format:check โœ… Succeeded 2s View โ†—
nx-cloud record -- nx sync:check โœ… Succeeded <1s View โ†—

โ˜๏ธ Nx Cloud last updated this comment at 2025-12-16 13:10:41 UTC

nx-cloud[bot] avatar Dec 08 '25 19:12 nx-cloud[bot]