Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/tend-ci-fix.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
24 changes: 22 additions & 2 deletions .github/workflows/tend-mention.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -80,6 +80,24 @@ jobs:
exit 0
fi

# The bot's own empty-body APPROVED review is terminal — nothing to
# act on. The engagement heuristic below counts this very review
# (BOT_REVIEWS > 0) and would spin up a no-op session. Gate on three
# things, not just author: review *state* (an approval is terminal; a
# bot CHANGES_REQUESTED/COMMENTED review keeps actionable signal) and
# an empty *body* (an approval carrying nits in its body may warrant
# follow-up changes, so let it fire). Together these preserve #166's
# actionable bot self-reviews. review.state arrives lowercase in the
# webhook payload (REST returns uppercase), hence "approved".
# COMMENT_BODY holds review.body for a pull_request_review event.
if [ "$EVENT_NAME" = "pull_request_review" ] \
&& [ "$REVIEW_AUTHOR" = "dormouse-bot" ] \
&& [ "$REVIEW_STATE" = "approved" ] \
&& [ -z "$COMMENT_BODY" ]; then
echo "should_run=false" >> "$GITHUB_OUTPUT"
exit 0
fi

# pull_request_review payloads include review.body (checked above)
# but NOT the bodies of inline comments attached to the review.
# Fetch them so a first-contact @-mention inside an inline comment
Expand Down Expand Up @@ -145,6 +163,8 @@ jobs:
PR_URL: ${{ github.event.issue.pull_request.url }}
EVENT_PR_NUMBER: ${{ github.event.pull_request.number }}
REVIEW_ID: ${{ github.event.review.id }}
REVIEW_AUTHOR: ${{ github.event.review.user.login }}
REVIEW_STATE: ${{ github.event.review.state }}

- name: React to mention
if: |
Expand Down Expand Up @@ -207,7 +227,7 @@ jobs:
env:
EVENT_TS: ${{ github.event.comment.updated_at || github.event.review.submitted_at || github.event.issue.updated_at }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-nightly.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-notifications.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -96,7 +96,7 @@ jobs:
fetch-depth: 0
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}
- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
if: steps.check.outputs.count != '0' || github.event_name == 'workflow_dispatch'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-review-runs.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-review.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-triage.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -33,7 +33,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tend-weekly.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.1.9. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.10. Regenerate with: uvx tend@latest init
#
# Do not edit this file directly — it will be overwritten on regeneration.
# To customize behavior, edit the relevant skill (for example,
Expand Down Expand Up @@ -30,7 +30,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.9
- uses: max-sixty/tend/claude@0.1.10
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
Loading