From 44b8f7d077c0a290c2ae7ccfb3c2286d31aaa522 Mon Sep 17 00:00:00 2001 From: Morten Andersen Date: Tue, 14 Jul 2026 09:49:07 +0200 Subject: [PATCH] fix: Allow passing `wait-for-argocd-sync` for `deploy-kotlin-v2.yml` [CPONETOPS-1068] * same arg as in other deploy workflows --- .github/workflows/deploy-kotlin-v2.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy-kotlin-v2.yml b/.github/workflows/deploy-kotlin-v2.yml index d7d6e41..cd15c37 100644 --- a/.github/workflows/deploy-kotlin-v2.yml +++ b/.github/workflows/deploy-kotlin-v2.yml @@ -141,6 +141,11 @@ on: default: 300 type: number description: 'Timeout duration in seconds to wait for ArgoCD sync to apply' + wait-for-argocd-sync: + required: false + type: boolean + default: true + description: 'Whether to block the workflow on ArgoCD sync becoming healthy. Set to false to fire-and-forget the deployment (the manifest commit still happens; only the wait step is skipped).' git-sha: required: false type: string @@ -276,6 +281,7 @@ jobs: argocd-server: ${{ inputs.argocd-server }} argocd-app-name: ${{ inputs.argocd-app-name }} argocd-sync-wait-seconds: ${{ inputs.argocd-sync-wait-seconds }} + wait-for-argocd-sync: ${{ inputs.wait-for-argocd-sync }} secrets: MANIFEST_REPO_PAT: ${{ secrets.MANIFEST_REPO_PAT }} ARGOCD_TOKEN: ${{ secrets.ARGOCD_TOKEN }}