From 06d7e30470be2eab611f4a103281261c033b8d8a Mon Sep 17 00:00:00 2001 From: Oliver Schmid Date: Mon, 13 Nov 2023 09:00:59 +0100 Subject: [PATCH] Update openMINDS_upstream.yml --- .github/workflows/openMINDS_upstream.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index bf7f0880..e08af992 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -1,15 +1,13 @@ name: openMINDS_upstream -on: - push: - branches: - - v3 - +on: + - push + - workflow_dispatch + jobs: build: runs-on: ubuntu-latest steps: - 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/HumanBrainProject/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "main"}' 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 }}"}'