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