Skip to content

Grant write permission for publish jobs - #4752

Merged
JakeWharton merged 1 commit into
lysine-dev:trunkfrom
iVamsi:fix/pages-deploy-permissions
Aug 22, 2026
Merged

Grant write permission for publish jobs#4752
JakeWharton merged 1 commit into
lysine-dev:trunkfrom
iVamsi:fix/pages-deploy-permissions

Conversation

@iVamsi

@iVamsi iVamsi commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

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: read to snapshot publish so it can still download the website artifact.

Renamed target_folder to target-folder. The publish job warns that target_folder is 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

@JakeWharton
JakeWharton merged commit 364d2fb into lysine-dev:trunk Aug 22, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Snapshot docs on lysine.dev are stale — deploy to site fails with 403

2 participants