Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(ci): use bot token so Claude commits trigger CI workflows (#491)
Maximilian Roos7101795a4f75
diff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yamlindex 8bae0fe2d..027b266f4 100644--- a/.github/workflows/claude-ci-fix.yaml+++ b/.github/workflows/claude-ci-fix.yaml@@ -31,6 +31,8 @@ jobs:ref: mainfetch-depth: 0fetch-tags: true+ # Use bot token so pushed commits trigger CI workflows+ token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}- name: 🔧 Configure git for Clauderun: |@@ -63,6 +65,8 @@ jobs:uses: anthropics/claude-code-action@v1with:anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}+ # Use bot token so pushed commits trigger CI workflows+ github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}additional_permissions: |actions: readdiff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yamlindex 7fa069f97..d18643c17 100644--- a/.github/workflows/claude-mention.yaml+++ b/.github/workflows/claude-mention.yaml@@ -36,6 +36,8 @@ jobs:github.event.issue.number) || github.ref }}fetch-depth: 0 # Get more history for better contextfetch-tags: true+ # Use bot token so pushed commits trigger CI workflows+ token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}- name: 🔧 Configure git for Clauderun: |@@ -68,6 +70,8 @@ jobs:uses: anthropics/claude-code-action@v1with:anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}+ # Use bot token so pushed commits trigger CI workflows+ github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}# This is an optional setting that allows Claude to read CI results on PRsadditional_permissions: |