Implement MerginMaps Hook in ScriptPython workflow

Add MerginMaps Hook to trigger on specific conditions.
This commit is contained in:
Alex38Lyon authored and GitHub committed 2026-10-18 19:18:13 +02:00
1 parent 7a374061dc
commit 9f3dd06919
1 file changed
+12
+12
View File
@@ -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