From c55403025f28dbd34fa999c28c7bc5af4d98509d Mon Sep 17 00:00:00 2001 From: "Vic Perdana (MSFT)" <7114832+vicperdana@users.noreply.github.com> Date: Fri, 17 Apr 2026 06:56:43 +1000 Subject: [PATCH] fix: set docs workflow inputPath for monorepo template location The microsoft/ps-docs action defaults to scanning from the workspace root. After the monorepo restructure, templates moved from templates/ to packages/psdocs-azure/templates/, and the scanner was picking up invalid template.json files from subtree imports causing: Cannot process argument because the value of argument "name" is not valid. Set inputPath to packages/psdocs-azure/templates to restrict scanning to only the valid ARM templates. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/docs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index b0ee6b9f..fce80c8e 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -35,6 +35,7 @@ jobs: uses: microsoft/ps-docs@main with: modules: PSDocs,PSDocs.Azure + inputPath: packages/psdocs-azure/templates outputPath: docs/templates/ prerelease: true