MINOR - Maven Collate CI to work on main (#14813)

This commit is contained in:
Pere Miquel Brull 2024-01-22 14:58:35 +01:00 committed by GitHub
parent 284ca34b18
commit 325267d7e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,10 +80,11 @@ 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": "${{ github.event.pull_request.head.sha }}" }'
inputs: '{ "sha": "${{ env.SHA }}" }'