mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-27 18:05:00 +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:
|
pull_request:
|
||||||
paths:
|
paths:
|
||||||
- 'openmetadata-spec/src/main/resources/json/schema/**'
|
- '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:
|
jobs:
|
||||||
generate-types:
|
generate-types:
|
||||||
runs-on: ubuntu-latest
|
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