From 432f2c1e8ccca0ff6bb2bfeda7b135766b546347 Mon Sep 17 00:00:00 2001 From: Martin Maslyankov Date: Fri, 3 Apr 2026 06:28:59 +0300 Subject: [PATCH] fix(deploy): use single-line commit message to avoid expression truncation Gitea Actions expression evaluator truncates multiline strings in run blocks at blank lines. Using a simple single-line commit message. Co-Authored-By: Claude Opus 4.6 --- .gitea/workflows/deploy-k8s.yaml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitea/workflows/deploy-k8s.yaml b/.gitea/workflows/deploy-k8s.yaml index ace3e1b..0b82024 100644 --- a/.gitea/workflows/deploy-k8s.yaml +++ b/.gitea/workflows/deploy-k8s.yaml @@ -72,12 +72,7 @@ jobs: if git diff --staged --quiet; then echo "No image tag changes to commit" else - COMMIT_MSG="deploy: ${{ inputs.service-name }} ${IMAGE_TAG}" - COMMIT_MSG="${COMMIT_MSG} - -Source: ${SHA} -Run: ${RUN_URL}" - git commit -m "${COMMIT_MSG}" + git commit -m "deploy: ${{ inputs.service-name }} ${IMAGE_TAG}" git push origin main echo "Cluster repo updated — ArgoCD will sync within ~3 min" fi