From 0861c3239c6e9f39d99dee96cf823b2b16671436 Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Wed, 6 Aug 2025 16:38:16 +0900 Subject: [PATCH] fix: use selected target_branch for PR base in update-manager-types workflow --- .github/workflows/update-manager-types.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-manager-types.yaml b/.github/workflows/update-manager-types.yaml index bbc1d30a5..c1df6e26e 100644 --- a/.github/workflows/update-manager-types.yaml +++ b/.github/workflows/update-manager-types.yaml @@ -3,6 +3,11 @@ name: Update ComfyUI-Manager API Types on: # Manual trigger workflow_dispatch: + inputs: + target_branch: + description: 'Target branch for the PR' + required: true + default: 'main' jobs: update-manager-types: @@ -85,8 +90,8 @@ jobs: These types are automatically generated using openapi-typescript. branch: update-manager-types-${{ steps.manager-info.outputs.commit }} - base: main + base: ${{ inputs.target_branch }} labels: Manager delete-branch: true add-paths: | - src/types/generatedManagerTypes.ts + src/types/generatedManagerTypes.ts \ No newline at end of file