From aaaa0cdcb9353354a3455d32f5998d53e777b430 Mon Sep 17 00:00:00 2001 From: Jin Yi Date: Wed, 6 Aug 2025 15:35:14 +0900 Subject: [PATCH] fix: use selected target_branch for PR base in update-manager-types workflow (#4776) --- .github/workflows/update-manager-types.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update-manager-types.yaml b/.github/workflows/update-manager-types.yaml index bbc1d30a5..1da67964b 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,7 +90,7 @@ 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: |