Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build&release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,10 @@ jobs:
# failure (0 jobs, run_attempt=1 completed instantly). Doing the
# check inline keeps the raw message inside a bash variable and
# only exports the single-line `draft` boolean to downstream steps.
# Prior implementation inlined the message via ${{ }} interpolation,
# which let commit-body tokens (e.g. "deadcode") execute as bash
# and killed v2.6.0-testnet with exit 127. See PR history.
# Prior implementation inlined the message via GitHub Actions
# expression interpolation, which let commit-body tokens (e.g.
# "deadcode") execute as bash and killed v2.6.0-testnet with
# exit 127. See PR history (#303 / #307).
if printf '%s' "$TAG_MESSAGE" | grep -qi '\[no-deploy\]'; then
echo "draft=true" >> "$GITHUB_OUTPUT"
echo "⚠️ [no-deploy] detected — release will be created as DRAFT"
Expand Down
Loading