Grant write permission for publish jobs - #4752
Merged
JakeWharton merged 1 commit intoAug 22, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Snapshot and release site pushes fail with 403 because the default token is read-only. Added write permission to the publish jobs. Also, added
actions: readto snapshot publish so it can still download the website artifact.Renamed
target_foldertotarget-folder. The publish job warns thattarget_folderis unexpected; without that, snapshot docs would deploy to the site root and overwrite the release site.https://github.com/lysine-dev/retrofit/actions/runs/32546665551/job/96966776463
Fixes #4751