Skip to content

Structured multi-perspective deliberation for hard decisions. Run full councils, focused triads, or duo debates across Claude Code, Codex, Gemini CLI, and OpenCode.

fix(ci): release notes via file, not workflow-expression interpolation

0xnyk3aba2a45cad3
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index a2bd9d3..8adb3f7 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -30,17 +30,18 @@ jobs:
echo "ARCHIVE=$(pwd)/../${ARCHIVE}" >> "$GITHUB_ENV"
- name: Extract release notes from CHANGELOG.md
- id: changelog
+ # Notes go through a file, never through ${{ }} interpolation into a
+ # run script — CHANGELOG text contains backticks, which the shell
+ # would execute as command substitutions (this bit v1.2.0).
run: |
VERSION="${GITHUB_REF_NAME#v}"
- NOTES=$(awk "/^## \[${VERSION}\]/{found=1; next} found && /^## /{exit} found{print}" CHANGELOG.md)
- printf 'notes<<EOF\n%s\nEOF\n' "${NOTES}" >> "$GITHUB_OUTPUT"
+ awk "/^## \[${VERSION}\]/{found=1; next} found && /^## /{exit} found{print}" CHANGELOG.md > "${RUNNER_TEMP}/release-notes.md"
- name: Create GitHub release
env:
GH_TOKEN: ${{ github.token }}
run: |
- gh release create "${{ github.ref_name }}" \
- --title "${{ github.ref_name }}" \
- --notes "${{ steps.changelog.outputs.notes }}" \
- "${{ env.ARCHIVE }}"
+ gh release create "${GITHUB_REF_NAME}" \
+ --title "${GITHUB_REF_NAME}" \
+ --notes-file "${RUNNER_TEMP}/release-notes.md" \
+ "${ARCHIVE}"