fix: use selected target_branch for PR base in update-manager-types workflow

This commit is contained in:
Jin Yi
2025-08-06 16:38:16 +09:00
parent aa73a284ef
commit 0861c3239c

View File

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