mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-26 09:22:14 +00:00
Fix the error in the template yml and add ability to trigger it from specific branch (#21998)
This commit is contained in:
parent
971225dbce
commit
623e8490e9
12
.github/workflows/typescript-type-generation.yml
vendored
12
.github/workflows/typescript-type-generation.yml
vendored
@ -4,9 +4,17 @@ on:
|
||||
pull_request:
|
||||
paths:
|
||||
- 'openmetadata-spec/src/main/resources/json/schema/**'
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
branch:
|
||||
description: 'Branch to run the workflow on'
|
||||
required: true
|
||||
default: 'main'
|
||||
type: string
|
||||
|
||||
jobs:
|
||||
generate-types:
|
||||
runs-on: ubuntu-latest
|
||||
# Placeholder for future workflow steps
|
||||
steps: []
|
||||
steps:
|
||||
- name: Placeholder
|
||||
run: echo "Workflow triggered successfully on branch ${{ github.event.inputs.branch || github.ref_name }}"
|
Loading…
x
Reference in New Issue
Block a user