diff --git a/.github/workflows/auto-close-harvested.yml b/.github/workflows/auto-close-harvested.yml index 8cbf769e..1547ab96 100644 --- a/.github/workflows/auto-close-harvested.yml +++ b/.github/workflows/auto-close-harvested.yml @@ -122,16 +122,24 @@ jobs: greeting="Thanks @${author}" fi - body_text=$(cat < ${subject} - -Closing this PR now that the code is on \`main\`. Credit lives in the commit message and (where applicable) the \`CHANGELOG.md\` entry for the next release. Apologies for not closing this at the time of the merge — the auto-close workflow is new in v0.8.31. - -If you want to land more work and would prefer your future PRs merge cleanly without a harvest step, the [\`CONTRIBUTING.md\`](https://github.com/${GITHUB_REPOSITORY}/blob/main/CONTRIBUTING.md) doc has a short note on what makes a contribution mergeable as-is. -EOF - ) + # NOTE: this block intentionally avoids `< ${subject}" \ + "" \ + "Closing this PR now that the code is on \`main\`. Credit lives in the commit message and (where applicable) the \`CHANGELOG.md\` entry for the next release. Apologies for not closing this at the time of the merge — the auto-close workflow is new in v0.8.31." \ + "" \ + "If you want to land more work and would prefer your future PRs merge cleanly without a harvest step, the [\`CONTRIBUTING.md\`](${contributing_url}) doc has a short note on what makes a contribution mergeable as-is." \ + )" echo "Closing PR #${pr} (harvested in ${short_sha})" if ! gh pr close "${pr}" \