mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-07-31 04:28:56 +00:00
ci: write the commit message from env instead of through an expanding heredoc
This commit is contained in:
committed by
Anonymous Maarten
parent
63bf4c1c79
commit
91863e149a
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@@ -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') || '' }} \
|
||||
|
||||
Reference in New Issue
Block a user