MINOR - Update Collate dispatch CI (#15007)

This commit is contained in:
Pere Miquel Brull 2024-02-02 14:11:14 +01:00 committed by GitHub
parent b73064ab45
commit 2eda75b78b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -67,11 +67,9 @@ jobs:
uses: aurelien-baudet/workflow-dispatch@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SHA: ${{ github.event_name == 'push' && 'main' || github.event.pull_request.head.sha }}
with:
workflow: OpenMetadata Collate Test
ref: main
repo: open-metadata/openmetadata-collate
token: ${{ secrets.COLLATE_PAT }}
wait-for-completion: true
inputs: '{ "sha": "${{ env.SHA }}" }'