Repository navigation
Fix tend-mention failing on fork PRs - #206
Merged
Merged
Conversation
Restore bot-self filter in the verify job's `if` condition for pull_request_review and pull_request_review_comment events. This filter is required (not just an optimization) because fork PRs don't have access to secrets, so the verify step's gh API calls fail. Also switch the verify step's GH_TOKEN from secrets.BOT_TOKEN to github.token — verify only does read-only calls, and github.token is always available, even on fork PRs. 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]>
max-sixty
added a commit
that referenced
this pull request
Apr 9, 2026
The org membership section was based on an incorrect diagnosis — the actual fix was in PR #206. Outside collaborators with write access work fine; the bot just needs to be a repo collaborator. Co-Authored-By: Claude <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Apr 9, 2026
Removes the broken `@README.md` reference (resolved to the user's repo README, not tend config docs) and the org membership requirement section (was based on an incorrect diagnosis — the actual fix was #206). > _This was written by Claude Code on behalf of Maximilian Roos_ --------- Co-authored-by: Claude <[email protected]>
This was referenced Apr 9, 2026
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.
In 0.0.9, the bot-self filter was removed from the verify job's
ifcondition forpull_request_reviewandpull_request_review_commentevents. The intent was to move filtering into the verify step's shell script — but that script needsGH_TOKENfromsecrets.BOT_TOKEN, which is unavailable on fork PRs.This matters because
tend-review(usingpull_request_target, which always has secrets) posts a review on fork PRs, which firespull_request_review: submitted, triggeringtend-mention— where secrets are absent andghexits with code 4.Two changes:
ifcondition forpull_request_reviewandpull_request_review_comment, with a comment explaining why it's required (not just an optimization)GH_TOKENfromsecrets.BOT_TOKENtogithub.tokenas defense-in-depth — verify only does read-only API calls, andgithub.tokenis always available even on fork PRs