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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -112,7 +112,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
Expand Down
17 changes: 8 additions & 9 deletions .github/workflows/tend-mention.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Generated by tend 0.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -339,7 +339,6 @@ jobs:
review_author = ""
review_state = ""
inline: list[dict[str, Any]] = []
fresh_inline = 0

if kind == "repository_dispatch":
kind = env.get("PAYLOAD_KIND", "")
Expand Down Expand Up @@ -401,7 +400,11 @@ jobs:
)
if any(f"@{bot}" in (comment.get("body") or "") for comment in inline):
return verdict(True, "mention")
fresh_inline = sum(comment.get("in_reply_to_id") is None for comment in inline)
# A review the bot wrote hands work to nobody: the review session
# applies the findings it raised. The mention checks run first, so
# naming the bot in a review still summons a session.
if review_author == bot:
return verdict(False)
if review_state == "approved" and not comment_body and not inline:
return verdict(False)

Expand All @@ -420,10 +423,6 @@ jobs:

pr = gh_json("pr", "view", pr_number, "--repo", repo, "--json", "author")
pr_author = actor_login(pr.get("author"))
if kind == "pull_request_review" and review_author == bot:
if pr_author == bot and (comment_body or fresh_inline > 0):
return verdict(True, "participation")
return verdict(False)
if pr_author == bot:
return verdict(True, "participation")

Expand Down Expand Up @@ -591,7 +590,7 @@ jobs:
# the API record — the dispatch payload never carries one to spoof.
EVENT_TS: ${{ github.event.comment.updated_at || needs.verify.outputs.ts || github.event.issue.updated_at }}

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
Expand Down Expand Up @@ -623,7 +622,7 @@ jobs:
|| (github.event.client_payload.kind == 'pull_request_review' && needs.verify.outputs.reason == 'mention'
&& format('A review was submitted on PR #{0} that mentions you ({1}, review ID {2}). Read the review and full context, then respond. If changes were requested, make them, commit, and push.', github.event.client_payload.pr, needs.verify.outputs.url, github.event.client_payload.id))
|| (github.event.client_payload.kind == 'pull_request_review'
&& format('A review was submitted on a PR where you previously participated (PR #{0}, {1}, review ID {2}). Read the review and full context. If it requests changes or asks questions, respond appropriately — including when you authored the review: a review your review workflow left on your own PR is your reviewer role speaking, not a self-loop, so action it. Exit silently for a plain approval, a review with no actionable content, or one between other participants.', github.event.client_payload.pr, needs.verify.outputs.url, github.event.client_payload.id))
&& format('A review was submitted on a PR where you previously participated (PR #{0}, {1}, review ID {2}). Read the review and full context. If it requests changes or asks questions, respond appropriately. Exit silently for a plain approval, a review with no actionable content, or one between other participants.', github.event.client_payload.pr, needs.verify.outputs.url, github.event.client_payload.id))
|| (contains(github.event.comment.body, '@prql-bot')
&& format('You were mentioned in a comment ({0}). Read the full context and respond. If changes are requested, make them, commit, and push.', github.event.comment.html_url))
|| format('A user commented on an issue/PR where you previously participated ({0}). Read the full context. Only respond if the comment is directed at you, asks a question you can help with, or requests changes you can make. If the conversation is between other participants, exit silently.', github.event.comment.html_url)
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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -103,7 +103,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -298,7 +298,7 @@ jobs:

- uses: ./.github/actions/tend-setup
if: (steps.tend_enabled.outputs.enabled == 'true') && (steps.check.outputs.count != '0' || steps.check.outputs.conflict_count != '0' || github.event_name == 'workflow_dispatch')
- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: (steps.tend_enabled.outputs.enabled == 'true') && (steps.check.outputs.count != '0' || steps.check.outputs.conflict_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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -103,7 +103,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -121,7 +121,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -116,7 +116,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_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.2.5. Regenerate with: uvx tend@latest init
# Generated by tend 0.2.6. 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 @@ -103,7 +103,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.tend_enabled.outputs.enabled == 'true'

- uses: max-sixty/tend/claude@0.2.5
- uses: max-sixty/tend/claude@0.2.6
if: steps.tend_enabled.outputs.enabled == 'true'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
Expand Down
Loading