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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -34,7 +34,7 @@ jobs:

- uses: ./.github/actions/claude-setup

- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
257 changes: 107 additions & 150 deletions .github/workflows/tend-mention.yaml

Large diffs are not rendered by default.

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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -34,7 +34,7 @@ jobs:

- uses: ./.github/actions/claude-setup

- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -148,7 +148,7 @@ jobs:

- uses: ./.github/actions/claude-setup
if: steps.check.outputs.count != '0' || github.event_name == 'workflow_dispatch'
- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -34,7 +34,7 @@ jobs:

- uses: ./.github/actions/claude-setup

- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand Down
30 changes: 28 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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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,6 +96,17 @@ jobs:
fi

echo "should_run=true" >> "$GITHUB_OUTPUT"

- name: React with eyes
if: steps.gate.outputs.should_run == 'true'
run: |
gh api "repos/$REPO/$TARGET/reactions" -f content=eyes --silent \
|| echo "::warning::could not add the eyes reaction"
env:
REPO: ${{ github.repository }}
TARGET: issues/${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}

# Two checkouts: `setup:` runs against the base tree, and the PR's own
# tree lands after it. Setup executes as the runner user, outside the
# containment the harness builds for the contributor's code.
Expand Down Expand Up @@ -137,7 +148,7 @@ jobs:
fetch-tags: true
token: ${{ secrets.TEND_BOT_TOKEN }}

- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
if: steps.gate.outputs.should_run == 'true'
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
Expand All @@ -154,3 +165,18 @@ jobs:
dir=.github/actions/claude-setup
git checkout "$GITHUB_SHA" -- "$dir" ||
echo "::warning::could not restore $dir from $GITHUB_SHA; POST cleanup of the local action may fail"

- name: Remove the eyes reaction
if: always() && (steps.gate.outputs.should_run == 'true')
run: |
REACTION_ID=$(gh api "repos/$REPO/$TARGET/reactions?content=eyes" \
--jq ".[] | select(.user.login == \"$BOT_NAME\") | .id" | head -n1)
if [ -n "$REACTION_ID" ]; then
gh api -X DELETE "repos/$REPO/$TARGET/reactions/$REACTION_ID" --silent \
|| echo "::warning::could not remove the eyes reaction"
fi
env:
REPO: ${{ github.repository }}
TARGET: issues/${{ github.event.pull_request.number }}
BOT_NAME: worktrunk-bot
GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}
28 changes: 26 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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -28,6 +28,15 @@ jobs:
actions: read
issues: write
steps:
- name: React with eyes
run: |
gh api "repos/$REPO/$TARGET/reactions" -f content=eyes --silent \
|| echo "::warning::could not add the eyes reaction"
env:
REPO: ${{ github.repository }}
TARGET: issues/${{ github.event.issue.number }}
GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}

- uses: actions/checkout@v7
with:
ref: main
Expand All @@ -37,7 +46,7 @@ jobs:

- uses: ./.github/actions/claude-setup

- uses: max-sixty/tend/claude@0.1.15
- uses: max-sixty/tend/claude@0.1.17
with:
github_token: ${{ secrets.TEND_BOT_TOKEN }}
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
Expand All @@ -46,3 +55,18 @@ jobs:
model: opus
prompt: |
/tend-ci-runner:triage ${{ github.event.issue.number }}

- name: Remove the eyes reaction
if: always()
run: |
REACTION_ID=$(gh api "repos/$REPO/$TARGET/reactions?content=eyes" \
--jq ".[] | select(.user.login == \"$BOT_NAME\") | .id" | head -n1)
if [ -n "$REACTION_ID" ]; then
gh api -X DELETE "repos/$REPO/$TARGET/reactions/$REACTION_ID" --silent \
|| echo "::warning::could not remove the eyes reaction"
fi
env:
REPO: ${{ github.repository }}
TARGET: issues/${{ github.event.issue.number }}
BOT_NAME: worktrunk-bot
GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}
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.15. Regenerate with: uvx tend@latest init
# Generated by tend 0.1.17. 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 @@ -34,7 +34,7 @@ jobs:

- uses: ./.github/actions/claude-setup

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