From 0584c74a4b1367fe592d37231e43a86c10dc3411 Mon Sep 17 00:00:00 2001 From: Kris Armstrong Date: Mon, 6 Jul 2026 15:51:15 -0400 Subject: [PATCH] ci(governance): exempt release-please PRs from human PR-body template --- .github/workflows/pr-body-lint.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr-body-lint.yml b/.github/workflows/pr-body-lint.yml index a75ff66..def8869 100644 --- a/.github/workflows/pr-body-lint.yml +++ b/.github/workflows/pr-body-lint.yml @@ -14,7 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Validate PR body - if: github.event_name == 'pull_request' + # release-please PRs carry an auto-generated changelog body, not the human + # change-PR template (no single linked issue, no code delta to test). + # Validating them against it is a category error; their integrity is + # ensured by release-please itself + the CI Complete gate. Skip them. + if: github.event_name == 'pull_request' && !startsWith(github.head_ref, 'release-please--') uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: |