From 1190aa57e40c2e77b409156eca84d86ceff6583b Mon Sep 17 00:00:00 2001 From: Oliver Schmid Date: Mon, 13 Nov 2023 09:14:37 +0100 Subject: [PATCH] Create openMINDS_upstream.yml --- .github/workflows/openMINDS_upstream.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/openMINDS_upstream.yml diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml new file mode 100644 index 0000000..e08af99 --- /dev/null +++ b/.github/workflows/openMINDS_upstream.yml @@ -0,0 +1,13 @@ +name: openMINDS_upstream + +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/openMetadataInitiative/openMINDS/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline", "inputs": {"branch": "${{github.ref_name}}", "repository": "${{ github.repository }}"}'