From e96b18acf2d521466f14bbff36fe10ea21985fe6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 18 May 2026 03:38:25 +0000 Subject: [PATCH] fix: use vp for contracts generation in autofix workflow Agent-Logs-Url: https://github.com/langgenius/dify/sessions/96ddc59c-309e-4f87-bb28-f326fbed9778 Co-authored-by: fatelei <961094+fatelei@users.noreply.github.com> --- .github/workflows/autofix.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index b0cd652c43..8f38df1068 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -124,7 +124,7 @@ jobs: - name: Generate frontend contracts if: github.event_name != 'merge_group' && steps.api-changes.outputs.any_changed == 'true' - run: pnpm --dir packages/contracts gen-api-contract-from-openapi + run: cd packages/contracts && vp run gen-api-contract-from-openapi - name: ESLint autofix if: github.event_name != 'merge_group' && steps.web-changes.outputs.any_changed == 'true'