Skip to content

chore: regenerate tend workflows from upstream main - #2009

Merged
max-sixty merged 1 commit into
mainfrom
fix/issue-2008
Apr 8, 2026
Merged

chore: regenerate tend workflows from upstream main#2009
max-sixty merged 1 commit into
mainfrom
fix/issue-2008

Conversation

@worktrunk-bot

Copy link
Copy Markdown
Collaborator

Problem

The tend workflow files were generated from an older version of tend that includes bot-author filters on pull_request_review and pull_request_review_comment events. This prevents tend-mention from triggering when the bot reviews its own PR, so review suggestions sit unapplied until a human intervenes (as happened on #2004).

The upstream fix (max-sixty/tend#168) was merged but hasn't been released to PyPI yet, so uvx tend@latest init still generates the old templates.

Solution

Regenerated workflow files from tend@main (commit ffc84f49) which includes the fix. Key changes:

  • tend-mention.yaml: Removes != 'worktrunk-bot' filters from pull_request_review and pull_request_review_comment events. Self-conversation loop prevention is now handled at the prompt level instead.
  • tend-triage.yaml: Removes if: github.event.issue.user.login != 'worktrunk-bot' filter.
  • All files: Adds "do not edit" header comments.
  • .github/CLAUDE.md: Updated to reflect the new loop prevention model.

Testing

These are generated workflow files — no code tests needed. The changes match the upstream template exactly (uvx --from 'git+https://github.com/max-sixty/tend.git@main#subdirectory=generator' tend init).


Closes #2008 — automated triage

Picks up the fix from max-sixty/tend#168, which removes bot-author
filters from pull_request_review and pull_request_review_comment events
in the mention workflow. This allows the bot to process its own review
suggestions on bot-authored PRs, with self-conversation loop prevention
handled at the prompt level.

Also removes the bot-author filter from triage and adds "do not edit"
header comments to all generated workflow files.

Updates .github/CLAUDE.md to reflect the new loop prevention model.

Closes #2008

Co-Authored-By: Claude <noreply@anthropic.com>
@max-sixty
max-sixty enabled auto-merge (squash) April 8, 2026 19:56
@max-sixty
max-sixty merged commit eafa84b into main Apr 8, 2026
23 checks passed
@max-sixty
max-sixty deleted the fix/issue-2008 branch April 8, 2026 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Regenerate tend workflows to pick up review trigger fix

2 participants