Repository navigation
Document org membership requirement for bot accounts - #204
Merged
Merged
Conversation
For org repos, the bot must be an org member — not just an outside collaborator — to get secret access when its actions trigger workflows. Reorganizes step 7 to use API-based invitation acceptance (via the bot's PAT from step 5) instead of Chrome automation. Co-Authored-By: Claude <[email protected]>
tend-agent
reviewed
Apr 9, 2026
Moves browser-dependent steps (bot account creation, OAuth, PAT generation) to the end so all API/CLI work completes first. Also simplifies Chrome automation header and adds org admin fallback guidance. New order: config → workflows → branch protection → skill overlay → badge → bot account → OAuth → PAT → grant access → commit Co-Authored-By: Claude <[email protected]>
tend-agent
reviewed
Apr 9, 2026
tend-agent
left a comment
Collaborator
There was a problem hiding this comment.
Step reorder looks good — grouping API-first / browser-last is a cleaner flow. One remaining issue from the prior review: the personal repos section still doesn't guard against an empty INVITE_ID (same fix already applied to the org section).
The bot may already be a collaborator, in which case no invitation is created and the PATCH would fail without this guard. Co-Authored-By: Claude <[email protected]>
tend-agent
approved these changes
Apr 9, 2026
max-sixty
added a commit
that referenced
this pull request
Apr 9, 2026
Bumps generator version to 0.0.10 and syncs lockfile. 10 commits since 0.0.9: fix tend-mention on fork PRs (#206), add notifications:read to PAT scopes (#205), improve install-tend skill (#207), document org membership for bot accounts (#204), expand regtest snapshots (#199, #195), simplify nightly survey (#200), add release skill (#198), move tend upgrade to nightly skill (#197). Co-Authored-By: Claude <[email protected]>
Merged
max-sixty
added a commit
that referenced
this pull request
Apr 9, 2026
## Summary - Bump generator version to 0.0.10 and sync lockfile 10 commits since 0.0.9: fix tend-mention on fork PRs (#206), add notifications:read to PAT scopes (#205), improve install-tend skill (#207), document org membership for bot accounts (#204), expand regtest snapshots (#199, #195), simplify nightly survey (#200), add release skill (#198), move tend upgrade to nightly skill (#197). > _This was written by Claude Code on behalf of Maximilian Roos_ Co-authored-by: Claude <[email protected]>
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.
For org repos, the bot must be an org member — not just an outside collaborator — because outside collaborators have been observed to get empty
secrets.BOT_TOKENwhen their actions trigger workflows (e.g., the bot submits a review, firingtend-mention).Two changes to the install-tend skill:
Step 9 (Grant bot access): Branches on org vs personal repos. For org repos, invites the bot as an org member, then as a repo collaborator. Uses API-based invitation acceptance via the bot's PAT (
GH_TOKEN=<bot-pat>) instead of Chrome automation.Step reordering: API/CLI steps (config, workflows, branch protection, skill overlay, badge) now come first (1-5), browser steps (bot account, OAuth, PAT) are grouped at the end (6-8), followed by the API step that uses the PAT (9).