Skip to content

Commit aaaa0cd

Browse files
authored
fix: use selected target_branch for PR base in update-manager-types workflow (#4776)
1 parent 5ad9f86 commit aaaa0cd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-manager-types.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Update ComfyUI-Manager API Types
33
on:
44
# Manual trigger
55
workflow_dispatch:
6+
inputs:
7+
target_branch:
8+
description: 'Target branch for the PR'
9+
required: true
10+
default: 'main'
611

712
jobs:
813
update-manager-types:
@@ -85,7 +90,7 @@ jobs:
8590
8691
These types are automatically generated using openapi-typescript.
8792
branch: update-manager-types-${{ steps.manager-info.outputs.commit }}
88-
base: main
93+
base: ${{ inputs.target_branch }}
8994
labels: Manager
9095
delete-branch: true
9196
add-paths: |

0 commit comments

Comments
 (0)