From 9f3dd06919d73c84966fb493abd1677f24e5f4b0 Mon Sep 17 00:00:00 2001 From: Alex38Lyon <55714436+Alex38Lyon@users.noreply.github.com> Date: Sun, 18 Oct 2026 19:18:13 +0200 Subject: [PATCH] Implement MerginMaps Hook in ScriptPython workflow Add MerginMaps Hook to trigger on specific conditions. --- .github/workflows/ScriptPython.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.github/workflows/ScriptPython.yml b/.github/workflows/ScriptPython.yml index da16dbe..3402665 100644 --- a/.github/workflows/ScriptPython.yml +++ b/.github/workflows/ScriptPython.yml @@ -522,3 +522,15 @@ jobs: commit_user_name: "github-actions[bot]" commit_user_email: "41898282+github-actions[bot]@users.noreply.github.com" commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" + + # ============================================================ + # 17. MerginMaps Hook + # ============================================================ + - name: Trigger MerginMapsHook + if: steps.changed.outputs.shp == 'true' || steps.changed.outputs.manual == 'true' + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + run: | + gh api "repos/${GH_REPO}/dispatches" \ + -f event_type=mergin-sync