From a393977052ade3e253fc8660ea4d55795b0221c2 Mon Sep 17 00:00:00 2001 From: datarian <36982755+datarian@users.noreply.github.com> Date: Tue, 11 Nov 2025 06:55:22 +0100 Subject: [PATCH] Revert "fix: use multiple -m flags for git commit messages in workflows" --- .github/workflows/delete-web-resume.yml | 14 ++++++++------ .github/workflows/deploy-web-resumes.yml | 14 ++++++++------ 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/.github/workflows/delete-web-resume.yml b/.github/workflows/delete-web-resume.yml index 5c007b5..9df2bbe 100644 --- a/.github/workflows/delete-web-resume.yml +++ b/.github/workflows/delete-web-resume.yml @@ -91,12 +91,14 @@ jobs: git config user.name "GitHub Actions" git config user.email "actions@github.com" git add . - git commit -m "chore: delete web resume $id [skip ci]" \ - -m "" \ - -m "Manually deleted via workflow from datarian/CV." \ - -m "" \ - -m "🤖 Triggered by ${{ github.actor }}" \ - || echo "No changes to commit" + git commit -m "$(cat <<'EOF' +chore: delete web resume $id [skip ci] + +Manually deleted via workflow from datarian/CV. + +🤖 Triggered by ${{ github.actor }} +EOF +)" || echo "No changes to commit" git push https://x-access-token:${CV_PAGES_TOKEN}@github.com/datarian/CV-pages.git gh-pages - name: Report deletion diff --git a/.github/workflows/deploy-web-resumes.yml b/.github/workflows/deploy-web-resumes.yml index eaea767..e0b728e 100644 --- a/.github/workflows/deploy-web-resumes.yml +++ b/.github/workflows/deploy-web-resumes.yml @@ -130,12 +130,14 @@ jobs: git config user.name "GitHub Actions" git config user.email "actions@github.com" git add . - git commit -m "Deploy web resumes [skip ci]" \ - -m "" \ - -m "Automated deployment from datarian/CV@${{ github.sha }}" \ - -m "" \ - -m "🤖 Generated with GitHub Actions" \ - || echo "No changes to commit" + git commit -m "$(cat <<'EOF' +Deploy web resumes [skip ci] + +Automated deployment from datarian/CV@${{ github.sha }} + +🤖 Generated with GitHub Actions +EOF +)" || echo "No changes to commit" git push https://x-access-token:${CV_PAGES_TOKEN}@github.com/datarian/CV-pages.git gh-pages - name: Report deployment URLs