Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

chore: update tend workflows (0.2.10 → 0.2.11) (#4187)

Maximilian Roos0d46ca41d282
diff --git a/.github/workflows/tend-ci-fix.yaml b/.github/workflows/tend-ci-fix.yaml
index 33f46bf2c..86fc3a9ae 100644
--- a/.github/workflows/tend-ci-fix.yaml
+++ b/.github/workflows/tend-ci-fix.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -43,7 +44,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-mention-relay.yaml b/.github/workflows/tend-mention-relay.yaml
index ffa0e6bce..c0d8f0a3b 100644
--- a/.github/workflows/tend-mention-relay.yaml
+++ b/.github/workflows/tend-mention-relay.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
diff --git a/.github/workflows/tend-mention.yaml b/.github/workflows/tend-mention.yaml
index 23d76a60e..6f625df98 100644
--- a/.github/workflows/tend-mention.yaml
+++ b/.github/workflows/tend-mention.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -124,6 +125,13 @@ jobs:
return str(actor.get("login") or "")
+ def actor_type(actor: object) -> str:
+ """Return a GitHub actor type — `User`, `Bot`, or "" when unrecorded."""
+ if not isinstance(actor, dict):
+ return ""
+ return str(actor.get("type") or "")
+
+
def output(name: str, value: str | bool) -> None:
rendered = str(value).lower() if isinstance(value, bool) else value
with Path(os.environ["GITHUB_OUTPUT"]).open("a", encoding="utf-8") as stream:
@@ -145,6 +153,7 @@ jobs:
comment_body = env.get("COMMENT_BODY", "")
comment_author = env.get("COMMENT_AUTHOR", "")
review_author = ""
+ review_author_type = ""
review_state = ""
inline: list[dict[str, Any]] = []
@@ -164,6 +173,7 @@ jobs:
print(f"review {item_id} not found on PR {pr} — skipping")
return verdict(False)
review_author = actor_login(review.get("user"))
+ review_author_type = actor_type(review.get("user"))
review_state = str(review["state"]).lower()
comment_body = review.get("body") or ""
output("url", review["html_url"])
@@ -213,7 +223,16 @@ jobs:
# 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:
+ # An approval asks nobody for anything; the only thing that can hand
+ # the bot work alongside one is prose. A person's prose counts, so
+ # theirs is read. A review bot's is generated status — a code-health
+ # badge, a "looks safe" template — and weighing it costs a session
+ # that can only exit silently, once per review bot per push.
+ if (
+ review_state == "approved"
+ and not inline
+ and (not comment_body or review_author_type == "Bot")
+ ):
return verdict(False)
if kind == "issue_comment":
@@ -329,7 +348,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/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-nightly.yaml b/.github/workflows/tend-nightly.yaml
index b59eb97ad..d18c3ac4b 100644
--- a/.github/workflows/tend-nightly.yaml
+++ b/.github/workflows/tend-nightly.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -34,7 +35,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-notifications.yaml b/.github/workflows/tend-notifications.yaml
index a80aa5fab..b21812822 100644
--- a/.github/workflows/tend-notifications.yaml
+++ b/.github/workflows/tend-notifications.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -246,7 +247,7 @@ jobs:
- uses: ./.github/actions/tend-setup
if: steps.check.outputs.count != '0' || steps.check.outputs.conflict_count != '0' || github.event_name == 'workflow_dispatch'
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
if: steps.check.outputs.count != '0' || steps.check.outputs.conflict_count != '0' || github.event_name == 'workflow_dispatch'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
diff --git a/.github/workflows/tend-review-runs.yaml b/.github/workflows/tend-review-runs.yaml
index 5cba116c5..23024d3e8 100644
--- a/.github/workflows/tend-review-runs.yaml
+++ b/.github/workflows/tend-review-runs.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -34,7 +35,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-review.yaml b/.github/workflows/tend-review.yaml
index 485829b45..3d7abd931 100644
--- a/.github/workflows/tend-review.yaml
+++ b/.github/workflows/tend-review.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -52,7 +53,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-triage.yaml b/.github/workflows/tend-triage.yaml
index eeaaf02d2..fac7d7f42 100644
--- a/.github/workflows/tend-triage.yaml
+++ b/.github/workflows/tend-triage.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -46,7 +47,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
diff --git a/.github/workflows/tend-weekly.yaml b/.github/workflows/tend-weekly.yaml
index e5d19060b..1e75e1397 100644
--- a/.github/workflows/tend-weekly.yaml
+++ b/.github/workflows/tend-weekly.yaml
@@ -1,8 +1,9 @@
-# Generated by tend 0.2.10. Regenerate with: uvx tend@latest init
+# Generated by tend 0.2.11. 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,
-# `running-tend`) in this repo's .claude/skills/ directory, or open an issue at
+# To change this workflow, edit .config/tend.yaml. To change what the agent
+# does, edit the relevant skill (for example, `running-tend`) in this repo's
+# .claude/skills/ directory, or open an issue at
# https://github.com/max-sixty/tend/issues for changes that need to
# happen upstream in the tend-ci-runner plugin.
@@ -34,7 +35,7 @@ jobs:
- uses: ./.github/actions/tend-setup
- - uses: max-sixty/tend/[email protected]
+ - uses: max-sixty/tend/[email protected]
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}