Skip to content

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

fix: use worktrunk-bot identity for commit authorship in CI (#1271)

worktrunk-bot68da1e5269ca
diff --git a/.github/workflows/claude-ci-fix.yaml b/.github/workflows/claude-ci-fix.yaml
index b14704b55..e034eeef3 100644
--- a/.github/workflows/claude-ci-fix.yaml
+++ b/.github/workflows/claude-ci-fix.yaml
@@ -35,11 +35,6 @@ jobs:
# Use bot token so pushed commits trigger CI workflows
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: Install cargo-insta
uses: baptiste0928/cargo-install@v3
with:
@@ -71,6 +66,8 @@ jobs:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Use bot token so pushed commits trigger CI workflows
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
additional_permissions: |
actions: read
diff --git a/.github/workflows/claude-issue-triage.yaml b/.github/workflows/claude-issue-triage.yaml
index a9bc27ca2..d3827f7c0 100644
--- a/.github/workflows/claude-issue-triage.yaml
+++ b/.github/workflows/claude-issue-triage.yaml
@@ -46,11 +46,6 @@ jobs:
# Use bot token so pushed commits trigger CI workflows
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: Install cargo-insta
uses: baptiste0928/cargo-install@v3
with:
@@ -82,6 +77,8 @@ jobs:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Use bot token so pushed commits trigger CI workflows
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
# Triage runs for all new issues, including from external contributors
allowed_non_write_users: '*'
additional_permissions: |
diff --git a/.github/workflows/claude-mention.yaml b/.github/workflows/claude-mention.yaml
index 1407a1ee8..d03328cc3 100644
--- a/.github/workflows/claude-mention.yaml
+++ b/.github/workflows/claude-mention.yaml
@@ -108,11 +108,6 @@ jobs:
# Use bot token so pushed commits trigger CI workflows
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: πŸ‘€ React to comment
# Only react when explicitly mentioned. For bot-engaged conversations
# without a mention, the bot may exit silently β€” adding πŸ‘€ would
@@ -187,6 +182,8 @@ jobs:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
# Use bot token so pushed commits trigger CI workflows
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
allowed_non_write_users: '*'
additional_permissions: |
diff --git a/.github/workflows/claude-nightly-cleaner.yaml b/.github/workflows/claude-nightly-cleaner.yaml
index 4e9e7f728..02bba80c9 100644
--- a/.github/workflows/claude-nightly-cleaner.yaml
+++ b/.github/workflows/claude-nightly-cleaner.yaml
@@ -36,11 +36,6 @@ jobs:
# Use bot token so pushed commits trigger CI workflows
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: Install cargo-insta
uses: baptiste0928/cargo-install@v3
with:
@@ -71,6 +66,8 @@ jobs:
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
additional_permissions: |
actions: read
diff --git a/.github/workflows/claude-nightly-review-reviewers.yaml b/.github/workflows/claude-nightly-review-reviewers.yaml
index feb01847c..9bbca99d9 100644
--- a/.github/workflows/claude-nightly-review-reviewers.yaml
+++ b/.github/workflows/claude-nightly-review-reviewers.yaml
@@ -35,11 +35,6 @@ jobs:
# Use bot token so pushed commits trigger CI workflows
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: Install cargo-insta
uses: baptiste0928/cargo-install@v3
with:
@@ -70,6 +65,8 @@ jobs:
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
additional_permissions: |
actions: read
diff --git a/.github/workflows/claude-renovate.yaml b/.github/workflows/claude-renovate.yaml
index 18acbe3c7..bfd9b1c5b 100644
--- a/.github/workflows/claude-renovate.yaml
+++ b/.github/workflows/claude-renovate.yaml
@@ -31,11 +31,6 @@ jobs:
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: πŸ’° Cache
uses: Swatinem/rust-cache@v2
with:
@@ -48,6 +43,8 @@ jobs:
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
additional_permissions: |
actions: read
diff --git a/.github/workflows/claude-review.yaml b/.github/workflows/claude-review.yaml
index c4aff144c..54411f983 100644
--- a/.github/workflows/claude-review.yaml
+++ b/.github/workflows/claude-review.yaml
@@ -54,11 +54,6 @@ jobs:
fetch-tags: true
token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
- - name: πŸ”§ Configure git for Claude
- run: |
- git config --global user.name "Claude Code"
- git config --global user.email "[email protected]"
-
- name: πŸ“Œ Check out PR branch
if: github.event_name == 'pull_request_review'
run: gh pr checkout ${{ github.event.pull_request.number }}
@@ -99,6 +94,8 @@ jobs:
with:
claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }}
github_token: ${{ secrets.WORKTRUNK_BOT_TOKEN }}
+ bot_id: "254187624"
+ bot_name: "worktrunk-bot"
allowed_bots: "*"
allowed_non_write_users: "*"
additional_permissions: |