gnodet opened a new pull request, #14180:
URL: https://github.com/apache/maven/pull/14180

   ## Problem
   
   The Release Drafter workflow on `master` has been failing since Nov 28:
   
   ```
   Error: Validation Failed: body is too long (maximum is 125000 characters)
   ```
   
   Release Drafter accumulated **2,241 merged PRs** (199k characters) because 
`master` has no published release in its commit ancestry. 4.x releases (`rc-7`, 
etc.) are tagged on the `maven-4.0.x` branch, not on `master`. So 
release-drafter falls back to `maven-3.10.2` (the last 3.x release targeting 
master) as its anchor, and includes every PR ever merged.
   
   ## Fix
   
   Pass `last-release-tag: maven-4.0.0-rc-7` to the shared workflow. This 
anchors the changelog to the last 4.x release candidate, so only the ~30 PRs 
merged since rc-7 (Sep 24, 2026) are included. The body stays well within the 
125k limit.
   
   **Depends on**: apache/maven-gh-actions-shared#383 (adds `last-release-tag` 
input support to the shared workflow).
   
   After that PR is merged and `v5` is updated, this PR will make the Release 
Drafter green again on master. Future 4.x RCs should update this tag 
accordingly.
   
   ## Note on revert strategy
   
   If  is not accepted, the alternative is to inline the release-drafter job 
directly in this workflow (removing the `uses:` delegation). The logic is 
equivalent.
   
   ## Licensed
   
   The work I am contributing is licensed under the Apache License 2.0, and I 
have all rights to contribute it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to