mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
fix: use selected target_branch for PR base in update-manager-types workflow (#4776)
This commit is contained in:
7
.github/workflows/update-manager-types.yaml
vendored
7
.github/workflows/update-manager-types.yaml
vendored
@@ -3,6 +3,11 @@ name: Update ComfyUI-Manager API Types
|
|||||||
on:
|
on:
|
||||||
# Manual trigger
|
# Manual trigger
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
target_branch:
|
||||||
|
description: 'Target branch for the PR'
|
||||||
|
required: true
|
||||||
|
default: 'main'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
update-manager-types:
|
update-manager-types:
|
||||||
@@ -85,7 +90,7 @@ jobs:
|
|||||||
|
|
||||||
These types are automatically generated using openapi-typescript.
|
These types are automatically generated using openapi-typescript.
|
||||||
branch: update-manager-types-${{ steps.manager-info.outputs.commit }}
|
branch: update-manager-types-${{ steps.manager-info.outputs.commit }}
|
||||||
base: main
|
base: ${{ inputs.target_branch }}
|
||||||
labels: Manager
|
labels: Manager
|
||||||
delete-branch: true
|
delete-branch: true
|
||||||
add-paths: |
|
add-paths: |
|
||||||
|
|||||||
Reference in New Issue
Block a user