From b31f2aff7d8b4140c1c46a7fc9cd53e56005e8ba Mon Sep 17 00:00:00 2001 From: Jan <59206115+Threated@users.noreply.github.com> Date: Wed, 15 Oct 2025 10:45:42 +0200 Subject: [PATCH] fix: don't run secret sync for minimal (#349) --- lib/functions.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/functions.sh b/lib/functions.sh index 379e122..c0f4257 100644 --- a/lib/functions.sh +++ b/lib/functions.sh @@ -337,6 +337,10 @@ function sync_secrets() { } function secret_sync_gitlab_token() { + if [ "$PROJECT" == "minimal" ]; then + log "INFO" "Not running Secret Sync for project minimal" + return + fi # Map the origin of the git repository /etc/bridgehead to the prefix recognized by Secret Sync local gitlab case "$(git -C /etc/bridgehead remote get-url origin)" in