From a209971ff60229941a9e69f0c11e8bdc32a496e5 Mon Sep 17 00:00:00 2001 From: Raphael-Gazzotti <125291580+Raphael-Gazzotti@users.noreply.github.com> Date: Thu, 19 Mar 2026 09:33:53 +0100 Subject: [PATCH 1/4] Enhance workflow with HTTP status code responses and logs Updated the workflow to include status codes and logs in the output for each triggered repository. --- .github/workflows/openMINDS_upstream.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index 97ec65c1..acc15855 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -1,5 +1,4 @@ name: openMINDS_upstream - on: - push - workflow_dispatch @@ -10,10 +9,11 @@ jobs: steps: - name: Trigger target repositories 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_json-schema/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_MATLAB/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_Python/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_Java/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_LinkML/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_documentation/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - 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_documentation/actions/workflows/htaccess-deploy.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\njson-schema: %{http_code}\n" -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_json-schema/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nMATLAB: %{http_code}\n" -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_MATLAB/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nPython: %{http_code}\n" -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_Python/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nJava: %{http_code}\n" -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_Java/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nLinkML: %{http_code}\n" -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_LinkML/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\ndocs build: %{http_code}\n" -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_documentation/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\ndocs htaccess: %{http_code}\n" -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_documentation/actions/workflows/htaccess-deploy.yml/dispatches --data '{"ref": "pipeline"}' + From 52c5633c4e336acd3724b85e15fce18cdeab29e7 Mon Sep 17 00:00:00 2001 From: Raphael-Gazzotti <125291580+Raphael-Gazzotti@users.noreply.github.com> Date: Thu, 19 Mar 2026 09:37:04 +0100 Subject: [PATCH 2/4] Update openMINDS_upstream.yaml --- .github/workflows/openMINDS_upstream.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index acc15855..0dfb5575 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -1,4 +1,5 @@ name: openMINDS_upstream + on: - push - workflow_dispatch @@ -9,11 +10,11 @@ jobs: steps: - name: Trigger target repositories run: | - curl -s -w "\njson-schema: %{http_code}\n" -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_json-schema/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nJSON-Schema: %{http_code}\n" -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_json-schema/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' curl -s -w "\nMATLAB: %{http_code}\n" -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_MATLAB/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' curl -s -w "\nPython: %{http_code}\n" -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_Python/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' curl -s -w "\nJava: %{http_code}\n" -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_Java/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' curl -s -w "\nLinkML: %{http_code}\n" -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_LinkML/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - curl -s -w "\ndocs build: %{http_code}\n" -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_documentation/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' - curl -s -w "\ndocs htaccess: %{http_code}\n" -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_documentation/actions/workflows/htaccess-deploy.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nDocs build: %{http_code}\n" -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_documentation/actions/workflows/build.yml/dispatches --data '{"ref": "pipeline"}' + curl -s -w "\nDocs htaccess: %{http_code}\n" -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_documentation/actions/workflows/htaccess-deploy.yml/dispatches --data '{"ref": "pipeline"}' From 8598153ae0b25fedda5c0ec08850d7c880bfb527 Mon Sep 17 00:00:00 2001 From: Raphael-Gazzotti <125291580+Raphael-Gazzotti@users.noreply.github.com> Date: Thu, 19 Mar 2026 10:32:47 +0100 Subject: [PATCH 3/4] Update workflow triggers for openMINDS_upstream --- .github/workflows/openMINDS_upstream.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index 0dfb5575..cf4394bc 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -1,8 +1,11 @@ name: openMINDS_upstream -on: - - push - - workflow_dispatch +on: + push: + branches: + - main + - pipeline + workflow_dispatch: jobs: build: From 2cc9e229865e80ea591190233af71c10e70eae95 Mon Sep 17 00:00:00 2001 From: Raphael-Gazzotti <125291580+Raphael-Gazzotti@users.noreply.github.com> Date: Thu, 19 Mar 2026 10:36:49 +0100 Subject: [PATCH 4/4] Update workflow to trigger only on 'main' branch Removed 'pipeline' branch from push triggers. --- .github/workflows/openMINDS_upstream.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/openMINDS_upstream.yml b/.github/workflows/openMINDS_upstream.yml index cf4394bc..3ac7db1c 100644 --- a/.github/workflows/openMINDS_upstream.yml +++ b/.github/workflows/openMINDS_upstream.yml @@ -4,7 +4,6 @@ on: push: branches: - main - - pipeline workflow_dispatch: jobs: