Repository navigation
docs(worker): record the scoped deployment token - #1386
Merged
Merged
Conversation
The `cloudflare-deploy` secret is now `Tend site deploy (CI)`, an account-owned token with `Individual Workers Editor` on `tend-website`, `Workers Routes Write` on the `tend-src.com` zone, and `Account Settings Read`. It replaces the user-owned `tend-ci-worker-deploy`, whose "Edit Cloudflare Workers" template let it edit every Worker in the account (Leaf's included) and route any of the account's zones. Both old tokens are revoked. The new token uploaded `tend-website` with its `CACHE` KV binding under `wrangler versions upload` (not deployed), so it needs no KV permission. The README's regeneration steps pointed at that template; they now name the per-Worker scope, which Cloudflare refuses on a user-owned token. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
tend-agent
approved these changes
Sep 22, 2026
Merged
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.
Document the account-owned deployment token that replaced the user-owned token. The new instructions record its individual Worker and zone scopes and explain how to recreate it without granting access to every Worker in the account.
The Cloudflare deploy secret was updated on September 18, and subsequent Worker deploy runs succeeded with it.