From dc6579daec2a970466ae43c6531e65e0a0a66dce Mon Sep 17 00:00:00 2001 From: David Katz Date: Fri, 20 Feb 2026 13:03:42 -0500 Subject: [PATCH] Post release checklist as a comment on release PRs (#7307) --- .github/workflows/create-release-pr.yaml | 12 ++++++++++-- RELEASE_CHECKLIST.md | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.github/workflows/create-release-pr.yaml b/.github/workflows/create-release-pr.yaml index a83d607d50..4daf75ad7b 100644 --- a/.github/workflows/create-release-pr.yaml +++ b/.github/workflows/create-release-pr.yaml @@ -101,10 +101,18 @@ jobs: - name: Create Pull Request run: | - gh pr create \ + PR_URL=$(gh pr create \ -B "$TARGET_BRANCH" \ -H "${{ env.branch_name }}" \ --title "chore(release): release version ${{ env.version }} ($BUMP_TYPE)" \ - --body-file pr_body.txt + --body-file pr_body.txt) + echo "pr_url=$PR_URL" >> $GITHUB_ENV + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Post release checklist comment + run: | + sed 's/{{VERSION}}/${{ env.version }}/g' RELEASE_CHECKLIST.md > checklist_comment.md + gh pr comment "${{ env.pr_url }}" --body-file checklist_comment.md env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/RELEASE_CHECKLIST.md b/RELEASE_CHECKLIST.md index ba7e636cb4..66da4374ac 100644 --- a/RELEASE_CHECKLIST.md +++ b/RELEASE_CHECKLIST.md @@ -1,6 +1,6 @@ # goose Release Manual Testing Checklist -## Version: _____ +## Version: {{VERSION}} Make a copy of this document for each version and check off as steps are verified.