Skip to content

[CHA-0] fix(ci): grant contents write to the release workflow - #264

Merged
mogita merged 1 commit into
mainfrom
fix/release-workflow-contents-write
Aug 11, 2026
Merged

[CHA-0] fix(ci): grant contents write to the release workflow#264
mogita merged 1 commit into
mainfrom
fix/release-workflow-contents-write

Conversation

@mogita

@mogita mogita commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

The release job creates the tag and the GitHub release with ncipollo/release-action, which needs contents: write. #261 set the workflow to contents: read, so the first release after it, 1.46.0, failed with Error 403: Resource not accessible by integration. The package reached Maven Central, only the tag and the release were missing.

1.46.0 is now published by hand: https://github.com/GetStream/stream-chat-java/releases/tag/1.46.0

Verify: the next release run creates its tag and release without a 403.

The release job creates the tag and the GitHub release, which needs
contents: write. The workflow got contents: read in #261, so the 1.46.0
release failed with 403 after the package was already published.
@mogita
mogita merged commit 4e48de8 into main Aug 11, 2026
5 checks passed
@mogita
mogita deleted the fix/release-workflow-contents-write branch August 11, 2026 08:43
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

Successfully merging this pull request may close these issues.

1 participant