Files
ai/.releaserc.json
zeekay c68acb8402 fix(ci): stop semantic-release failing the release on PR/issue comments
v1.786.0 was tagged (publish + git tag succeeded with contents:write), but the
@semantic-release/github SUCCESS step then threw 'Resource not accessible by
integration' trying to comment on / label the released PRs — the runner's
GITHUB_TOKEN can't touch issues/PRs — which failed the whole tag-release job, so
Docker Release (needs: tag-release) was skipped and no image shipped despite a
real version being cut.

We don't need release comments; we need the image. Disable successComment,
failComment, and releasedLabels on the github plugin (no PR/issue API calls →
nothing to be denied), and add pull-requests: write for good measure. The git
tag + GitHub release (contents:write) still publish. This fix is itself a
releasable change, so it cuts v1.786.1 → Docker Release builds ghcr.io/hanzoai/
cloud:1.786.1 (carrying RAG ingest, the usage read API, BYOK, the expanded
model catalog) and dispatches to universe.
2026-06-30 12:22:06 -07:00

31 lines
506 B
JSON

{
"debug": true,
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
{
"name": "rc"
},
{
"name": "beta",
"prerelease": true
},
{
"name": "alpha",
"prerelease": true
}
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
[
"@semantic-release/github",
{
"successComment": false,
"failComment": false,
"releasedLabels": false
}
]
]
}