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>
This commit is contained in:
copilot-swe-agent[bot]
2026-05-18 03:38:25 +00:00
committed by GitHub
parent b85cdc37f5
commit e96b18acf2

View File

@ -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'