https://github.com/libsdl-org/SDL/commit/91863e149a9cf565c29aabc0e8fdfe1ea4ca1662
From 91863e149a9cf565c29aabc0e8fdfe1ea4ca1662 Mon Sep 17 00:00:00 2001
From: Kobi Hikri <[EMAIL REDACTED]>
Date: Tue, 28 Jul 2026 19:04:35 +0300
Subject: [PATCH] ci: write the commit message from env instead of through an
expanding heredoc
---
.github/workflows/build.yml | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 4b5c2b2dcf078..a887c6b4f8411 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -38,13 +38,12 @@ jobs:
sparse-checkout: '.github/workflows/create-test-plan.py'
- name: 'Create plan'
id: plan
+ env:
+ COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: |
# Adding [sdl-ci-filter GLOB] to the commit message will limit the jobs
# e.g. [sdl-ci-filter msvc-*]
- EOF=$(openssl rand -hex 32)
- cat >/tmp/commit_message.txt <<$EOF
- ${{ github.event.head_commit.message }}
- $EOF
+ printf '%s\n' "$COMMIT_MESSAGE" >/tmp/commit_message.txt
python .github/workflows/create-test-plan.py \
${{ (github.event_name != 'schedule' && '--priority-only') || '' }} \