From 2820dffeaae24e75fafdd20cef7b405646935c54 Mon Sep 17 00:00:00 2001 From: ZDDC Date: Sun, 3 May 2026 18:38:25 -0500 Subject: [PATCH] fix(ci): single-line commit messages in notify workflows (YAML pipe block) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Multi-line git commit message bodies broke YAML parsing — pipe blocks end on unindented lines, so the body lines starting at column 0 were being interpreted by Forgejo's YAML parser as keys, yielding: yaml: line 158: could not find expected ':' Switch to repeated `-m` flags (one per paragraph). Same end result in git log; valid YAML. --- .forgejo/workflows/deploy-release.yml | 17 +++++------------ .forgejo/workflows/notify-chart-dev.yml | 15 +++++---------- 2 files changed, 10 insertions(+), 22 deletions(-) diff --git a/.forgejo/workflows/deploy-release.yml b/.forgejo/workflows/deploy-release.yml index aee4cfe..c10a5c5 100644 --- a/.forgejo/workflows/deploy-release.yml +++ b/.forgejo/workflows/deploy-release.yml @@ -153,16 +153,9 @@ jobs: git config user.name "ZDDC Release Bot" git config user.email "noreply@zddc.varasys.io" git add chart/Chart.yaml - git commit -m "chore(chart): auto-bump appVersion to $VERSION (ZDDC stable cut) - -Triggered by zddc-server-v$VERSION tag push on git.varasys.io/VARASYS/ZDDC. -Bumps Chart.yaml so the prod Docker image is tagged \`zddc:$VERSION\`, -ensuring kubelet pulls a fresh image on the next helm upgrade. Chart -\`version\` bumped to $NEW_CHART_VER (patch) so JFrog has a clean -chart history per deploy. - -Auto-generated by .forgejo/workflows/deploy-release.yml's -notify-chart-prod job. Do not edit manually — the next ZDDC stable -cut will overwrite this commit's changes." + git commit \ + -m "chore(chart): auto-bump appVersion to $VERSION (ZDDC stable cut)" \ + -m "Triggered by zddc-server-v$VERSION tag push on git.varasys.io/VARASYS/ZDDC. Bumps appVersion so the prod Docker image is tagged zddc:$VERSION, ensuring kubelet pulls a fresh image on the next helm upgrade. Chart version bumped to $NEW_CHART_VER (patch) so JFrog has a clean chart history per deploy." \ + -m "Auto-generated by .forgejo/workflows/deploy-release.yml's notify-chart-prod job. Do not edit manually — the next ZDDC stable cut will overwrite this commit's changes." git push origin main - echo "✓ pushed chart appVersion bump → BMCD pipeline-prod will fire" + echo "pushed chart appVersion bump - BMCD pipeline-prod will fire" diff --git a/.forgejo/workflows/notify-chart-dev.yml b/.forgejo/workflows/notify-chart-dev.yml index c32dce2..6748c6c 100644 --- a/.forgejo/workflows/notify-chart-dev.yml +++ b/.forgejo/workflows/notify-chart-dev.yml @@ -92,14 +92,9 @@ jobs: git config user.name "ZDDC Release Bot" git config user.email "noreply@zddc.varasys.io" git add chart/Chart.yaml - git commit -m "chore(chart): auto-bump appVersion to $BETA_VERSION (ZDDC beta cut) - -Triggered by push to git.varasys.io/VARASYS/ZDDC main with -embedded/* changes (a \`./build beta\` cut). Bumps Chart.yaml so -the dev Docker image is tagged \`zddc:$BETA_VERSION\`, ensuring -kubelet pulls a fresh image on the next helm upgrade. - -Auto-generated by .forgejo/workflows/notify-chart-dev.yml. The -next ZDDC beta or stable cut will overwrite this." + git commit \ + -m "chore(chart): auto-bump appVersion to $BETA_VERSION (ZDDC beta cut)" \ + -m "Triggered by push to git.varasys.io/VARASYS/ZDDC main with embedded/* changes (a ./build beta cut). Bumps appVersion so the dev Docker image is tagged zddc:$BETA_VERSION, ensuring kubelet pulls a fresh image on the next helm upgrade." \ + -m "Auto-generated by .forgejo/workflows/notify-chart-dev.yml. The next ZDDC beta or stable cut will overwrite this." git push origin develop - echo "✓ pushed chart develop bump → BMCD pipeline-dev will fire" + echo "pushed chart develop bump - BMCD pipeline-dev will fire"