Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

ci: fix workflow YAML — issue-body text dedented out of the run block

Gauthier Piarretteb0d1e66027a8
diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml
index fe18e9b..de81abf 100644
--- a/.github/workflows/canary.yml
+++ b/.github/workflows/canary.yml
@@ -62,10 +62,10 @@ jobs:
if [ -n "$NUM" ]; then
gh issue comment "$NUM" -R "$GITHUB_REPOSITORY" --body "Still failing ($KIND): $RUN_URL"
else
- gh issue create -R "$GITHUB_REPOSITORY" --title "$TITLE" --label "$LABEL" \
- --body "The canary failed ($KIND): $RUN_URL
-
-Drift = a pinned URL now serves different bytes, a published asset fails notarization checks, or the appcast disagrees with the latest release — real users are (or will be) affected. Availability = an upstream host was unreachable; usually transient, watch for repeats."
+ BODY=$(printf '%s\n\n%s' \
+ "The canary failed ($KIND): $RUN_URL" \
+ "Drift = a pinned URL now serves different bytes, a published asset fails notarization checks, or the appcast disagrees with the latest release — real users are (or will be) affected. Availability = an upstream host was unreachable; usually transient, watch for repeats.")
+ gh issue create -R "$GITHUB_REPOSITORY" --title "$TITLE" --label "$LABEL" --body "$BODY"
fi
elif [ "$RESULT" = "success" ]; then
for LABEL in canary-drift canary-availability; do
diff --git a/.github/workflows/nightly-e2e.yml b/.github/workflows/nightly-e2e.yml
index 6e827fd..1bc96ad 100644
--- a/.github/workflows/nightly-e2e.yml
+++ b/.github/workflows/nightly-e2e.yml
@@ -114,10 +114,10 @@ jobs:
if [ -n "$NUM" ]; then
gh issue comment "$NUM" -R "$GITHUB_REPOSITORY" --body "Still failing: $RUN_URL"
else
- gh issue create -R "$GITHUB_REPOSITORY" --title "$TITLE" --label e2e-failure \
- --body "The nightly fresh-install E2E failed: $RUN_URL
-
-This guard replays the fresh-user path: engine download from the bundled manifest (winetricks fetched live), layout audit, wineboot, vcrun2022. A failure here usually means new users cannot install."
+ BODY=$(printf '%s\n\n%s' \
+ "The nightly fresh-install E2E failed: $RUN_URL" \
+ "This guard replays the fresh-user path: engine download from the bundled manifest (winetricks fetched live), layout audit, wineboot, vcrun2022. A failure here usually means new users cannot install.")
+ gh issue create -R "$GITHUB_REPOSITORY" --title "$TITLE" --label e2e-failure --body "$BODY"
fi
elif [ "$RESULT" = "success" ] && [ -n "$NUM" ]; then
gh issue close "$NUM" -R "$GITHUB_REPOSITORY" --comment "Green again: $RUN_URL"