Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to prevent releasenotes from getting larger than 125000 character limit? #687

Closed
seansilvestri opened this issue Jul 10, 2024 · 1 comment

Comments

@seansilvestri
Copy link

Using in context of mono-repo for terraform modules.
When introducing a new module, the commit/PR size is too large and causes the below error to occur.

There is no previous release, the next release version is 1.0.0
[8:55:09 PM] [semantic-release] › ℹ Start step "generateNotes" of plugin "@semantic-release/release-notes-generator"
[8:55:10 PM] [semantic-release] › ✔ Completed step "generateNotes" of plugin "@semantic-release/release-notes-generator"
[8:55:10 PM] [semantic-release] › ℹ Start step "prepare" of plugin "@semantic-release/npm"
[8:55:10 PM] [semantic-release] [@semantic-release/npm] › ℹ Write version 1.0.0 to package.json in /runner/_work/cloud-terraform-modules/cloud-terraform-modules/aws/lz-account
v1.0.0
[8:55:10 PM] [semantic-release] › ✔ Completed step "prepare" of plugin "@semantic-release/npm"
[8:55:11 PM] [semantic-release] › ✔ Created tag lz-account/1.0.0
[8:55:11 PM] [semantic-release] › ℹ Start step "publish" of plugin "@semantic-release/npm"
[8:55:11 PM] [semantic-release] [@semantic-release/npm] › ℹ Skip publishing to npm registry as package.json's private property is true
[8:55:11 PM] [semantic-release] › ✔ Completed step "publish" of plugin "@semantic-release/npm"
[8:55:11 PM] [semantic-release] › ℹ Start step "publish" of plugin "@semantic-release/github"
[8:55:11 PM] [semantic-release] › ✘ Failed step "publish" of plugin "@semantic-release/github"
[8:55:11 PM] [semantic-release] › ✘ An error occurred while running semantic-release: RequestError [HttpError]: Validation Failed: {"resource":"Release","code":"custom","field":"body","message":"body is too long (maximum is 125000 characters)"} - https://docs.github.com/[email protected]/rest/releases/releases#create-a-release

@travi
Copy link
Member

travi commented Jul 10, 2024

since this is an error with the github plugin, lets keep the conversation targeted there. closing in favor of semantic-release/github#622

@travi travi closed this as not planned Won't fix, can't repro, duplicate, stale Jul 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants