Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
ci: rename WORKTRUNK_BOT_TOKEN → TEND_BOT_TOKEN in non-tend workflows (#2781)
Worktrunk Botfbe9aea898c1
diff --git a/.github/CLAUDE.md b/.github/CLAUDE.mdindex e8416d11b..8e1151bf4 100644--- a/.github/CLAUDE.md+++ b/.github/CLAUDE.md@@ -13,7 +13,7 @@ Workflows check `user.login == 'worktrunk-bot'` directly.| Token | Purpose ||-------|---------|-| `WORKTRUNK_BOT_TOKEN` | All Claude workflows — consistent bot identity |+| `TEND_BOT_TOKEN` | All Claude workflows — consistent bot identity || `CLAUDE_CODE_OAUTH_TOKEN` | Authenticates Claude Code to the Anthropic API |## Merge restrictiondiff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yamlindex 96231864d..32cb23f6d 100644--- a/.github/workflows/nightly.yaml+++ b/.github/workflows/nightly.yaml@@ -200,11 +200,11 @@ jobs:# https://gist.github.com/worktrunk-bot/19bb23cb9658722abfe69479d0a4f9bf## Cron-only: PR/push runs aren't appended (would pollute the time- # series). Skipped on forks: `WORKTRUNK_BOT_TOKEN` is not exposed there.+ # series). Skipped on forks: `TEND_BOT_TOKEN` is not exposed there.- name: 💾 Append results to gistif: github.repository_owner == 'max-sixty' && github.event_name == 'schedule'env:- GITHUB_TOKEN: ${{ secrets.WORKTRUNK_BOT_TOKEN }}+ GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}GIST_ID: 19bb23cb9658722abfe69479d0a4f9bfrun: |set -euo pipefail@@ -318,11 +318,11 @@ jobs:- uses: JasonEtco/create-an-issue@v2env:- # Use WORKTRUNK_BOT_TOKEN for a consistent bot identity (per+ # Use TEND_BOT_TOKEN for a consistent bot identity (per# .github/CLAUDE.md) and so any future issue-triage automation can# cascade off issue creation — events from the default GITHUB_TOKEN# don't trigger other workflows.- GITHUB_TOKEN: ${{ secrets.WORKTRUNK_BOT_TOKEN }}+ GITHUB_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}LINK: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}with:filename: .github/nightly-failure.mddiff --git a/.github/workflows/release.yaml b/.github/workflows/release.yamlindex b80085580..a2acd729d 100644--- a/.github/workflows/release.yaml+++ b/.github/workflows/release.yaml@@ -316,7 +316,7 @@ jobs:runs-on: ubuntu-24.04if: ${{ needs.plan.outputs.publishing == 'true' }}env:- GH_TOKEN: ${{ secrets.WORKTRUNK_BOT_TOKEN }}+ GH_TOKEN: ${{ secrets.TEND_BOT_TOKEN }}steps:- name: Sync winget-pkgs fork with upstreamrun: |@@ -327,7 +327,7 @@ jobs:identifier: max-sixty.worktrunkversion: ${{ needs.plan.outputs.tag }}installers-regex: '^worktrunk-.*-windows-.*\.zip$'- token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}+ token: ${{ secrets.TEND_BOT_TOKEN }}fork-user: max-sixty# Homebrew formula is generated by cargo-dist and published here@@ -345,7 +345,7 @@ jobs:with:persist-credentials: truerepository: "max-sixty/homebrew-worktrunk"- token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}+ token: ${{ secrets.TEND_BOT_TOKEN }}- name: Fetch homebrew formulauses: actions/download-artifact@v8with: