From dcbd33a72fd8a91efd5d95e53178c8ebe0ca0b29 Mon Sep 17 00:00:00 2001 From: "Moko Consulting [bot]" Date: Thu, 25 Jun 2026 17:05:07 +0000 Subject: [PATCH] fix: allow workflow_dispatch to trigger sync job [skip ci] --- .mokogitea/workflows/workflow-sync-trigger.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.mokogitea/workflows/workflow-sync-trigger.yml b/.mokogitea/workflows/workflow-sync-trigger.yml index 64c6d93..89c7358 100644 --- a/.mokogitea/workflows/workflow-sync-trigger.yml +++ b/.mokogitea/workflows/workflow-sync-trigger.yml @@ -27,7 +27,9 @@ jobs: name: Sync workflows to live repos runs-on: ubuntu-latest if: >- - github.event.pull_request.merged == true && + github.event_name == 'workflow_dispatch' || + (github.event.pull_request.merged == true && + !contains(github.event.pull_request.title, '[skip sync]')) !contains(github.event.pull_request.title, '[skip sync]') steps: