Fix the error in the template yml and add ability to trigger it from specific branch (#21998)

This commit is contained in:
Aniket Katkar 2025-06-27 10:13:29 +05:30 committed by GitHub
parent 971225dbce
commit 623e8490e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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