From 2b146f365e246f565cebe66518b3358fad8b5b81 Mon Sep 17 00:00:00 2001 From: chaodu-agent <274062505+chaodu-agent@users.noreply.github.com> Date: Fri, 23 Oct 2026 01:39:00 +0000 Subject: [PATCH] ci(release): include a Review Contract in generated release PRs release-pr.yml created PRs with a one-line body, so the Review Contract check failed on every release PR (beta.5 #1549, beta.6 #1568) and was merged red. Generate a body with all required sections instead of relying on the review-contract-exempt label, which docs reserve for an explicit maintainer decision. --- .github/workflows/release-pr.yml | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 422f97a7e..54c3b2923 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -82,6 +82,7 @@ jobs: env: GH_TOKEN: ${{ steps.app-token.outputs.token }} VERSION: ${{ steps.version.outputs.version }} + STABLE: ${{ steps.version.outputs.stable }} run: | BRANCH="release/v${VERSION}" git config user.name "openab-app[bot]" @@ -90,7 +91,36 @@ jobs: git add -A git commit -m "release: v${VERSION}" git push origin "$BRANCH" + # Generated body carries a Review Contract so review-contract.yml + # passes without a maintainer exemption label. + BODY_FILE="$(mktemp)" + cat > "$BODY_FILE" <