From 9a1c1cd37d263d73f54ac8ac5e3e21f9e374d3ca Mon Sep 17 00:00:00 2001 From: Jonathan Miller <1+jmiller@noreply.git.mokoconsulting.tech> Date: Tue, 14 Jul 2026 04:30:47 +0000 Subject: [PATCH] chore(ci): enable --delete-orphans in workflow sync Now that getRepoPlatform reads /metadata (correct platform routing) and platform templates are complete supersets, turn on orphan pruning so repos converge exactly to their template set (custom/ and custom-* preserved). --- .mokogitea/workflows/custom/workflow-sync-trigger.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.mokogitea/workflows/custom/workflow-sync-trigger.yml b/.mokogitea/workflows/custom/workflow-sync-trigger.yml index 2568f1e..bee566e 100644 --- a/.mokogitea/workflows/custom/workflow-sync-trigger.yml +++ b/.mokogitea/workflows/custom/workflow-sync-trigger.yml @@ -73,6 +73,7 @@ jobs: ARGS="--token ${MOKOGITEA_TOKEN}" ARGS="${ARGS} --org ${{ vars.GITEA_ORG || github.repository_owner }}" ARGS="${ARGS} --phase repos" + ARGS="${ARGS} --delete-orphans" PLATFORM="${{ steps.platform.outputs.platform }}" if [ -n "$PLATFORM" ]; then