From 6725ffa864adf175a8eb12e4de954a2446e4eb0b Mon Sep 17 00:00:00 2001 From: Andrew Davison Date: Mon, 2 Sep 2024 15:22:59 +0200 Subject: [PATCH] Update webhook to also trigger dev pipeline --- .github/workflows/openMINDS_upstream.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index e08af992..ebbe8b1b 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -11,3 +11,5 @@ jobs: - name: Trigger central repository run: | curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/openMetadataInitiative/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline", "inputs": {"branch": "${{github.ref_name}}", "repository": "${{ github.repository }}"}' + curl -XPOST -u "${{secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/openMetadataInitiative/openMINDS/actions/workflows/build-dev.yml/dispatches --data '{"ref": "pipeline", "inputs": {"branch": "${{github.ref_name}}", "repository": "${{ github.repository }}"}' +