Skip to content

Commit

Permalink
chore(ci): disable release comments to avoid secondary rate limit (#246)
Browse files Browse the repository at this point in the history
The release workflow occasionally fails due to GitHub API rate limiting
on the success comments that are posted to every issue and PR that is
included in the release. While it's possible this problem has been
addressed in the latest version of `semantic-release/github`, I still
think it's better to disable those comments and avoid the problem
entirely.
  • Loading branch information
ctreatma authored Oct 21, 2024
1 parent 9247f2a commit 3b94703
Showing 1 changed file with 40 additions and 39 deletions.
79 changes: 40 additions & 39 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -1,42 +1,43 @@
{
"branches": [
"main"
"branches": [
"main"
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
"ci": false,
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": "This ${issue.pull_request ? 'PR is included' : 'issue has been resolved'} in version ${nextRelease.version} :tada:",
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "echo -n '${nextRelease.version}' > version && make docs"
}
],
[
"@semantic-release/git",
{
"message": "ci: regenerate code for version ${nextRelease.version} triggered by ${process.env.RELEASE_REQUESTER}",
"assets": ["."]
}
]
[
"@semantic-release/release-notes-generator",
{
"preset": "conventionalcommits"
}
],
[
"@semantic-release/github",
{
"successComment": false,
"labels": false,
"releasedLabels": false
}
],
[
"@semantic-release/exec",
{
"prepareCmd": "echo -n '${nextRelease.version}' > version && make docs"
}
],
[
"@semantic-release/git",
{
"message": "ci: regenerate code for version ${nextRelease.version} triggered by ${process.env.RELEASE_REQUESTER}",
"assets": [
"."
]
}
]
}

]
}

0 comments on commit 3b94703

Please sign in to comment.